diff options
author | Greg Felix <gregfelixlkml@gmail.com> | 2005-07-28 15:54:15 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-28 15:54:15 -0400 |
commit | 7b6dbd6872ca1d0c03dc0e0a7108d79c8dafa793 (patch) | |
tree | 54160c4c0aa0970d3daa8b9a8f40c7a31f9527fe /drivers/pnp | |
parent | 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 (diff) |
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 <greg.felix@gmail.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions