mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Add pci class code for SATA & AHCI, and replace some magic numbers.
Signed-off-by: Conke Hu <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
95006188cb
commit
c9f89475a5
3 changed files with 7 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue