From 5c1306aaf86d60fb67d1465fccf77101c1fef234 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 8 Nov 2003 07:33:03 +0000 Subject: 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) --- perl-install/standalone/harddrake2 | 1 + 1 file changed, 1 insertion(+) 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}; -- cgit v1.2.1