diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2011-01-19 01:03:26 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-01-28 08:07:04 (GMT) |
commit | 10aca06c82a85fe7dcb3d8ad1b0b66e8635c8b8b (patch) | |
tree | 6a10c28ccf952df3e7959b4795629398249c5f55 /drivers/ata | |
parent | defed5593149e65cd7b7eaa32ccbf2e795ea55f1 (diff) | |
download | linux-fsl-qoriq-10aca06c82a85fe7dcb3d8ad1b0b66e8635c8b8b.tar.xz |
ahci: add HFLAG_YES_FBS and apply it to 88SE9128
Commit 5f173107ecad83a50 added HFLAG_YES_FBS workaround for 88SE9128
(1b4b:9123).
However, that change inadvertently caused the legacy IDE interface of
the controller (with the same pci id) to become associated with the AHCI
driver as well, causing the driver to try to bring the interface up in
vain.
Fix that by matching against class as well.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ahci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 3a43b11..b8d96ce 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -380,6 +380,8 @@ static const struct pci_device_id ahci_pci_tbl[] = { { PCI_VDEVICE(MARVELL, 0x6145), board_ahci_mv }, /* 6145 */ { PCI_VDEVICE(MARVELL, 0x6121), board_ahci_mv }, /* 6121 */ { PCI_DEVICE(0x1b4b, 0x9123), + .class = PCI_CLASS_STORAGE_SATA_AHCI, + .class_mask = 0xffffff, .driver_data = board_ahci_yes_fbs }, /* 88se9128 */ /* Promise */ |