ata_generic: implement ATA_GEN_* flags and force enable DMA on MBP 7,1
ata_generic: implement ATA_GEN_* flags and force enable DMA on MBP 7,1

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 <546b05909706652891a87f7bfe385ae147f61f91@kernel.org>
Cc: Peer Chen <d31caead4d255353962301ee618de9f463d7ac9b@nvidia.com>
Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@kernel.org
Reported-by: Anders Østhus <3d112ab3ced3197563f4473811d2f4b494628c1e@gmail.com>
Reported-by: Andreas Graf <df47aec07591dc96a82f9bf93a240bf8c133475d@csgraf.de>
Reported-by: Benoit Gschwind <6d0fcc95e39ab8ccb88bafebb2075e9d5c92b713@gnu-log.net>
Reported-by: Damien Cassou <416d47709700591eec63377cb0739fe1dc3072c8@gmail.com>
Reported-by: 68c9bb853e74fdcee46f68e3822cde7a7971df23@juno.com
Signed-off-by: Jeff Garzik <15f615bf7d20c2937c7eb5aa759110fd6768848c@redhat.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas