diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-09 16:58:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-09 16:58:59 +0000 |
commit | f3aca7f00cfd07bedd6836c957bdcba75132d9d2 (patch) | |
tree | e637ef7bc092ab275713ee430542446433b03a6a /perl-install/network | |
parent | 2dd9fcefa7902d43151721a4fb85e1c6d5aeff0e (diff) | |
download | drakx-f3aca7f00cfd07bedd6836c957bdcba75132d9d2.tar drakx-f3aca7f00cfd07bedd6836c957bdcba75132d9d2.tar.gz drakx-f3aca7f00cfd07bedd6836c957bdcba75132d9d2.tar.bz2 drakx-f3aca7f00cfd07bedd6836c957bdcba75132d9d2.tar.xz drakx-f3aca7f00cfd07bedd6836c957bdcba75132d9d2.zip |
(mapIntfToDevice) fix pci/usb ethernet devices matching
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/ethernet.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index 7f05db43d..b550c6fc9 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -38,7 +38,7 @@ qq( sub mapIntfToDevice { my ($interface) = @_; - my ($bus, $slot, $_func) = map { hex($_) } (c::getHwIDs($interface) =~ /([0-9a-f])+:([0-9a-f])+\.([0-9a-f]+)/); + my ($bus, $slot, $_func) = map { hex($_) } (c::getHwIDs($interface) =~ /([0-9a-f]+):([0-9a-f]+)\.([0-9a-f]+)/); grep { $_->{pci_bus} == $bus && $_->{pci_device} == $slot } detect_devices::probeall(); } |