summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-07 15:19:56 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-07 15:19:56 +0000
commitb7e10ed8a3d06fc103ed1f1a38e30bbb20cb0027 (patch)
tree2d49d1101ed368bba651008e0a1ad37ee0e7b638
parent9143183a31b97d64b6936af770d6ee503bf49bc2 (diff)
downloaddrakx-b7e10ed8a3d06fc103ed1f1a38e30bbb20cb0027.tar
drakx-b7e10ed8a3d06fc103ed1f1a38e30bbb20cb0027.tar.gz
drakx-b7e10ed8a3d06fc103ed1f1a38e30bbb20cb0027.tar.bz2
drakx-b7e10ed8a3d06fc103ed1f1a38e30bbb20cb0027.tar.xz
drakx-b7e10ed8a3d06fc103ed1f1a38e30bbb20cb0027.zip
list card readers as system components instead of unknows devices
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/harddrake/data.pm4
2 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 49216974b..f22ac9e71 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- harddrake:
+ o list card readers as system components instead of unknows devices
+
Version 12.24 - 03 April 2009
- fixed crypto module names when arch is not i586 (#46814)
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 8a429558d..f72ef0e86 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -22,7 +22,7 @@ foreach my $dev (@devices) {
# Update me each time you handle one more devices class (aka configurator)
sub unknown() {
- grep { $_->{media_type} !~ /BRIDGE|class\|Mouse|DISPLAY|Hub|MEMORY_RAM|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|NETWORK|Printer|SERIAL_(USB|SMBUS)|STORAGE_(IDE|OTHER|RAID|SCSI)|SYSTEM_OTHER|tape|UPS/
+ grep { $_->{media_type} !~ /BRIDGE|class\|Mouse|DISPLAY|Hub|MEMORY_RAM|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|NETWORK|Printer|SERIAL_(USB|SMBUS)|STORAGE_(IDE|OTHER|RAID|SCSI)|SYSTEM_(OTHER|SDHCI)|tape|UPS/
&& !member($_->{driver}, qw(cpia_usb cyber2000fb forcedeth ibmcam megaraid mod_quickcam nvnet ohci1394 ov511 ov518_decomp scanner ultracam usbvideo usbvision))
&& $_->{driver} !~ /^ISDN|Mouse:USB|Removable:zip|class\|Mouse|sata|www.linmodems.org/
&& $_->{type} ne 'network'
@@ -166,7 +166,7 @@ our @tree =
string => N("Bridges and system controllers"),
icon => "memory.png",
configurator => "",
- detector => sub { f(grep { $_->{media_type} =~ /BRIDGE|MEMORY_RAM|SYSTEM_OTHER|MEMORY_OTHER|SYSTEM_PIC/
+ detector => sub { f(grep { $_->{media_type} =~ /BRIDGE|MEMORY_RAM|SYSTEM_(OTHER|SDHCI)|MEMORY_OTHER|SYSTEM_PIC/
|| $_->{description} =~ /Parallel Port Adapter/;
} @devices) },
checked_on_boot => 0,