ahci: add HFLAG_YES_FBS and apply it to 88SE9128
authorAnssi Hannula <anssi.hannula@iki.fi>
Wed, 19 Jan 2011 01:03:26 +0000 (20:03 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 28 Jan 2011 08:07:04 +0000 (03:07 -0500)
commit10aca06c82a85fe7dcb3d8ad1b0b66e8635c8b8b
tree6a10c28ccf952df3e7959b4795629398249c5f55
parentdefed5593149e65cd7b7eaa32ccbf2e795ea55f1
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>
drivers/ata/ahci.c