summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-05-07 05:12:55 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-05-07 05:12:55 -0400
commit3ab0472e250832b09564b1c875584842aebd279e (patch)
treed93a68eecb1828b7ac97e68e91b64200cbee04ba /perl-install/harddrake
parent40a7f58772c65df23e49ad4f13d4d8b2029853fc (diff)
downloaddrakx-3ab0472e250832b09564b1c875584842aebd279e.tar
drakx-3ab0472e250832b09564b1c875584842aebd279e.tar.gz
drakx-3ab0472e250832b09564b1c875584842aebd279e.tar.bz2
drakx-3ab0472e250832b09564b1c875584842aebd279e.tar.xz
drakx-3ab0472e250832b09564b1c875584842aebd279e.zip
fix detecting AHCI as SATA (mga#9992)
AHCI driver is a kernel built-in these days, not a module anymore, since kernel-desktop-3.8.0-0.rc6.1.mga3 (Feb 06 2013)
Diffstat (limited to 'perl-install/harddrake')
-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 7989383d2..181e47d4c 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -62,7 +62,8 @@ our @tree =
string => N("SATA controllers"),
icon => "ide_hd.png",
configurator => "",
- detector => sub { f(grep { $_->{driver} !~ /^pata/ } detect_devices::probe_category('disk/sata')) },
+ detector => sub { f(grep { $_->{driver} !~ /^pata/ } detect_devices::probe_category('disk/sata')),
+ f(grep { $_->{description} =~ /AHCI/ } @devices) },
checked_on_boot => 1,
},