summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-15 13:21:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-15 13:21:09 +0000
commit0c6e573c13a7a6ae15f5d532d46076d10436afe5 (patch)
tree7d385847682e8a297e5ed4dbfe65b571836f90f6 /perl-install
parentadf638af96880d712c202b8858763bd646e5f960 (diff)
downloaddrakx-0c6e573c13a7a6ae15f5d532d46076d10436afe5.tar
drakx-0c6e573c13a7a6ae15f5d532d46076d10436afe5.tar.gz
drakx-0c6e573c13a7a6ae15f5d532d46076d10436afe5.tar.bz2
drakx-0c6e573c13a7a6ae15f5d532d46076d10436afe5.tar.xz
drakx-0c6e573c13a7a6ae15f5d532d46076d10436afe5.zip
put ide controller in their own non configurable subtree to prevent users to misunderstand why they're unknown/others
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/data.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index bff9c42f8..21da3c332 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -10,7 +10,7 @@ our ($version, $sbindir, $bindir) = ("1.1.5", "/usr/sbin", "/usr/bin");
# Update me each time you handle one more devices class (aka configurator)
sub unknown {
- grep { $_->{media_type} !~ /tape|DISPLAY|MULTIMEDIA_VIDEO|BRIDGE|NETWORK|MULTIMEDIA_AUDIO/ } detect_devices::probeall(1);
+ grep { $_->{media_type} !~ /tape|DISPLAY|MULTIMEDIA_VIDEO|STORAGE_IDE|BRIDGE|NETWORK|MULTIMEDIA_AUDIO/ } detect_devices::probeall(1);
}
@@ -59,9 +59,9 @@ our @tree =
["SCANNER","Scanner", "scanner.png", "$sbindir/scannerdrake",
sub { require scanner; scanner::findScannerUsbport() }],
["MOUSE","Mouse", "hw_mouse.png", "$sbindir/mousedrake", sub { require mouse; &mouse::detect()}],
- ["JOYSTICK","Joystick", "joystick.png", "", sub {}]
+ ["JOYSTICK","Joystick", "joystick.png", "", sub {}],
-# ["","Ideinterface", "Ideinterface.png", "", "STORAGE_IDE"],
+ ["","Ideinterface", "ide_hd.png", "", sub {grep { $_->{media_type} =~ 'STORAGE_IDE' } @devices}],
# ["","Scsiinterface", "Scsiinterface.png", "", \&detect_devices::getSCSI],
# ["","Usbinterface", "Usbinterface.png", "", \&detect_devices::usb_probe]
);