ahci: workarounds for mcp65
authorTejun Heo <htejun@gmail.com>
Mon, 9 Jun 2008 15:13:04 +0000 (00:13 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 13 Jun 2008 06:46:17 +0000 (02:46 -0400)
commite297d99e103f951a71fcb1534f1ff3480dd3a851
tree7e8b044efeb0f1ea048acba881a00e8326a4a0ab
parent5dd34572ad9a3be430632dd42e4af2ea370b397b
ahci: workarounds for mcp65

MCP65 ahci can do NCQ but doesn't set the CAP bit and rev A0 and A1
can't do MSI but have MSI capability.  Implement AHCI_HFLAG_YES_NCQ
and apply appropriate workarounds.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Peer Chen <pchen@nvidia.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c