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/NEWS | 3 +++ perl-install/harddrake/data.pm | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index d2c2883d5..1eb771be3 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- harddrake: + o fix detecting AHCI as SATA (mga#9992) + Version 16.90 - 28 April 2015 - localedrake: 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