diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-08 07:33:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-08 07:33:03 +0000 |
commit | 5c1306aaf86d60fb67d1465fccf77101c1fef234 (patch) | |
tree | f853023b95ca8c991bdec87d6f63e6f3c2346d8b | |
parent | 97cc5b8af6b46368a766240c5c94c002bd58dce5 (diff) | |
download | drakx-5c1306aaf86d60fb67d1465fccf77101c1fef234.tar drakx-5c1306aaf86d60fb67d1465fccf77101c1fef234.tar.gz drakx-5c1306aaf86d60fb67d1465fccf77101c1fef234.tar.bz2 drakx-5c1306aaf86d60fb67d1465fccf77101c1fef234.tar.xz drakx-5c1306aaf86d60fb67d1465fccf77101c1fef234.zip |
fix #3047: do not display "unknown module" in red for devices known to
not need any module (see http://www.people.iup.edu/bclg/pci-modem.html)
-rwxr-xr-x | perl-install/standalone/harddrake2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index b4bb9c606..4acddc93d 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -259,6 +259,7 @@ foreach (@harddrake::data::tree) { my $i = $_; $_->{bus_id} = join ':', map { if_($i->{$_} ne "65535", sprintf("%lx", $i->{$_})) } qw(vendor id subvendor subid); $_->{bus_location} = join ':', map { sprintf("%lx", $i->{$_}) } qw(pci_bus pci_device pci_function); + delete $_->{driver} if $_->{driver} =~ /3Com.*5610/; } # split description into manufacturer/description ($_->{Vendor}, $_->{description}) = split(/\|/, $_->{description}) if $_->{description}; |