ahci: mcp89: enter AHCI mode under Apple BIOS emulation
authorJames Laird <jhl@mafipulation.org>
Tue, 19 Nov 2013 00:06:38 +0000 (11:06 +1100)
committerTejun Heo <tj@kernel.org>
Sat, 23 Nov 2013 13:34:34 +0000 (08:34 -0500)
commitcb85696d7277592ddbd2897db9a29f3ec6e9fe11
tree021656b05ff51ae177992f83ba8042c7596124a8
parent462098b090897fbcf00088b225eb7a3adc407e98
ahci: mcp89: enter AHCI mode under Apple BIOS emulation

Apple's BIOS emulation forcibly disables MCP89 AHCI, eg. on Macbook7,1.
We can re-enable it, replacing the previous workaround of using
ata_generic.

tj: whitespace adjustments, dropped inline from is_mcp89_apple()

Signed-off-by: James Laird <jhl@mafipulation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c
drivers/ata/ata_generic.c