summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-30 10:18:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-30 10:18:29 +0000
commit44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6 (patch)
tree4788a79886f5bb9d188eb8b9f15b3ac0fec098bb /perl-install/harddrake/data.pm
parent059132e9f4135f2f43f5e047ec1918e144760d9f (diff)
downloaddrakx-backup-do-not-use-44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6.tar
drakx-backup-do-not-use-44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6.tar.gz
drakx-backup-do-not-use-44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6.tar.bz2
drakx-backup-do-not-use-44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6.tar.xz
drakx-backup-do-not-use-44f9f7b494dbe0cc539bfcd24c7cee9f2065cba6.zip
ensure we detect all known SATA controllers
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 1368e5dba..620f6a082 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -295,7 +295,11 @@ our @tree =
string => N("SATA controllers"),
icon => "ide_hd.png",
configurator => "",
- detector => sub { f(grep { $_->{driver} =~ /^sata/ } @devices) },
+ detector => sub {
+ require list_modules;
+ my @modules = list_modules::category2modules('disk/sata');
+ f(grep { member($_->{driver}, @modules) } @devices);
+ },
checked_on_boot => 1,
},