summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-30 10:19:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-30 10:19:22 +0000
commitf9569cef6547600ca2e437ad9fb0a19073532e5d (patch)
treee06ac67acfe51bacc824969603f6f2f0ba22097f
parent44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6 (diff)
downloaddrakx-f9569cef6547600ca2e437ad9fb0a19073532e5d.tar
drakx-f9569cef6547600ca2e437ad9fb0a19073532e5d.tar.gz
drakx-f9569cef6547600ca2e437ad9fb0a19073532e5d.tar.bz2
drakx-f9569cef6547600ca2e437ad9fb0a19073532e5d.tar.xz
drakx-f9569cef6547600ca2e437ad9fb0a19073532e5d.zip
do not list hardware controllers in unknown section
-rw-r--r--perl-install/harddrake/data.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 620f6a082..1e600a55e 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -304,6 +304,19 @@ our @tree =
},
{
+ class => "RAID_STORAGE",
+ string => N("RAID controllers"),
+ icon => "ide_hd.png",
+ configurator => "",
+ detector => sub {
+ require list_modules;
+ my @modules = list_modules::category2modules('disk/hardware_raid');
+ f(grep { member($_->{driver}, @modules) } @devices);
+ },
+ checked_on_boot => 1,
+ },
+
+ {
class => "FIREWIRE_CONTROLLER",
string => N("Firewire controllers"),
icon => "usb.png",