summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-30 06:29:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-30 06:29:50 +0000
commit671b3e7d7dfb42843a7f3474eaac771500393f1d (patch)
treec95ac89c01e60abc34566b925c2e5de4b8020592 /perl-install
parent61b391a649979173040343f2a17ca4d9afbb7379 (diff)
downloaddrakx-backup-do-not-use-671b3e7d7dfb42843a7f3474eaac771500393f1d.tar
drakx-backup-do-not-use-671b3e7d7dfb42843a7f3474eaac771500393f1d.tar.gz
drakx-backup-do-not-use-671b3e7d7dfb42843a7f3474eaac771500393f1d.tar.bz2
drakx-backup-do-not-use-671b3e7d7dfb42843a7f3474eaac771500393f1d.tar.xz
drakx-backup-do-not-use-671b3e7d7dfb42843a7f3474eaac771500393f1d.zip
list SATA controllers in their own category (anthill #741)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/data.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index fd27b212d..36362c42f 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -14,7 +14,7 @@ my @devices = detect_devices::probeall();
sub unknown() {
grep { $_->{media_type} !~ /BRIDGE|class\|Mouse|DISPLAY|Hub|MEMORY_RAM|MULTIMEDIA_(VIDEO|AUDIO|OTHER)|NETWORK|Printer|SERIAL_(USB|SMBUS)|STORAGE_(IDE|OTHER|SCSI)|tape/
&& !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|www.linmodems.org/
+ && $_->{driver} !~ /^ISDN|Mouse:USB|Removable:zip|class\|Mouse|sata|www.linmodems.org/
&& $_->{type} ne 'network'
&& $_->{description} !~ /Alcatel|ADSL Modem/
} @devices;
@@ -292,6 +292,15 @@ our @tree =
},
{
+ class => "SATA_STORAGE",
+ string => N("SATA controllers"),
+ icon => "ide_hd.png",
+ configurator => "",
+ detector => sub { f(grep { $_->{driver} =~ /^sata/ } @devices) },
+ checked_on_boot => 0,
+ },
+
+ {
class => "FIREWIRE_CONTROLLER",
string => N("Firewire controllers"),
icon => "usb.png",