summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorConke Hu <conke.hu@amd.com>2007-01-09 05:32:51 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:29 -0500
commitc9f89475a5b184e9a6077b995ce340e6804c1b1a (patch)
treede0b8eb7c7d514cbc14339705ef278bdb72ac90f /drivers/pci/quirks.c
parent95006188cb1399f1358330503906e5891c129a10 (diff)
downloadop-kernel-dev-c9f89475a5b184e9a6077b995ce340e6804c1b1a.zip
op-kernel-dev-c9f89475a5b184e9a6077b995ce340e6804c1b1a.tar.gz
Add pci class code for SATA & AHCI, and replace some magic numbers.
Signed-off-by: Conke Hu <conke.hu@amd.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r--drivers/pci/quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 11217bd..1e6eda2 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -871,7 +871,7 @@ static void __devinit quirk_sb600_sata(struct pci_dev *pdev)
pci_write_config_byte(pdev, 0xa, 6);
pci_write_config_byte(pdev, 0x40, tmp);
- pdev->class = 0x010601;
+ pdev->class = PCI_CLASS_STORAGE_SATA_AHCI;
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SATA, quirk_sb600_sata);
OpenPOWER on IntegriCloud