From: Greg Felix Date: Thu, 28 Jul 2005 19:54:15 +0000 (-0400) Subject: libata: Check PCI sub-class code before disabling AHCI X-Git-Tag: v2.6.13-rc5~108^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b6dbd6872ca1d0c03dc0e0a7108d79c8dafa793;p=pandora-kernel.git libata: Check PCI sub-class code before disabling AHCI This patch adds functionality to check the PCI sub-class code of an AHCI capable device before disabling AHCI. It fixes a bug where an ICH7 sata controller is being setup by the BIOS as sub-class 1 (ide) and the AHCI control registers weren't being initialized, thus causing an IO error in piix_disable_ahci(). Signed-off-by: Gregory Felix --- Reading git-diff-tree failed