summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-23 08:39:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-23 08:39:33 +0000
commitca2e101f9966beb854815afa3ca43e5efc87a0c4 (patch)
treec41cae3c2434dcc093de626b68d185faa1560c7d
parent9010eaa81f6cd8cb6bc9e125096f12162510e531 (diff)
downloaddrakx-ca2e101f9966beb854815afa3ca43e5efc87a0c4.tar
drakx-ca2e101f9966beb854815afa3ca43e5efc87a0c4.tar.gz
drakx-ca2e101f9966beb854815afa3ca43e5efc87a0c4.tar.bz2
drakx-ca2e101f9966beb854815afa3ca43e5efc87a0c4.tar.xz
drakx-ca2e101f9966beb854815afa3ca43e5efc87a0c4.zip
do not tag some ata raid controllers as unknown hw
-rw-r--r--perl-install/harddrake/data.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index be1f704e8..332fe36b1 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -89,7 +89,8 @@ our @tree =
&mouse::detect() }, 1 ],
[ "JOYSTICK", , N("Joystick"), "joystick.png", "", sub {}, 0 ],
- [ "ATA_STORAGE", , N("(E)IDE/ATA controllers"), "ide_hd.png", "", sub { f(grep { $_->{media_type} =~ /STORAGE_(IDE|OTHER)/ } @devices) }, 0 ],
+ [ "ATA_STORAGE", , N("(E)IDE/ATA controllers"), "ide_hd.png", "", sub { f(grep { $_->{media_type} =~ /STORAGE_(IDE|OTHER)/
+ || $_->{driver} eq '3w-xxxx' } @devices) }, 0 ],
[ "FIREWIRE_CONTROLLER", , N("Firewire controllers"), "usb.png", "", sub { f(grep { $_->{driver} =~ /ohci1394/ } @devices) }, 1 ],
[ "SCSI_CONTROLLER", , N("SCSI controllers"), "scsi.png", "", sub { f(grep { $_->{media_type} =~ /STORAGE_SCSI/ || $_->{driver} eq 'megaraid' } @devices) }, 0 ],
[ "USB_CONTROLLER", , N("USB controllers"), "usb.png", "", sub { f(grep { $_->{media_type} =~ /SERIAL_USB|Hub/ } @devices) }, 0 ],