From 3ab0472e250832b09564b1c875584842aebd279e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 7 May 2015 05:12:55 -0400 Subject: 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) --- perl-install/harddrake/data.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/harddrake') 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, }, -- cgit v1.2.1