IDE mode of MCP89 on MBP 7,1 doesn't set DMA enable bits in the BMDMA
status register. Make the following changes to work around the problem.
* Instead of using hard coded 1 in id->driver_data as class code
match, use ATA_GEN_CLASS_MATCH and carry the matched id in
host->private_data.
* Instead of matching PCI_VENDOR_ID_CENATEK, use ATA_GEN_FORCE_DMA
flag in id instead.
* Add ATA_GEN_FORCE_DMA to the id entry of MBP 7,1.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Peer Chen <[email protected]>
Cc: [email protected]
Reported-by: Anders Østhus <[email protected]>
Reported-by: Andreas Graf <[email protected]>
Reported-by: Benoit Gschwind <[email protected]>
Reported-by: Damien Cassou <[email protected]>
Reported-by: [email protected]
Signed-off-by: Jeff Garzik <[email protected]>