diff options
author | Tejun Heo <htejun@gmail.com> | 2007-02-02 14:51:09 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-02 11:52:05 -0500 |
commit | 77280989673ee1ef736a92617f52e2be45651833 (patch) | |
tree | 58d3792bd06a7583c91564737599b0392c16d798 /drivers/pci/pci.c | |
parent | e34efe3b100d0fbdf053128956c3dd0bc68754d6 (diff) |
ahci/pata_jmicron: fix JMicron quirk
For all JMicrons except for 361 and 368, AHCI mode enable bits in the
Control(1) should be set. This used to be done in both ahci and
pata_jmicron but while moving programming to PCI quirk, it was removed
from ahci part while still left in pata_jmicron.
The implemented JMicron PCI quirk was incorrect in that it didn't
program AHCI mode enable bits. If pata_jmicron is loaded first and
programs those bits, the ahci ports work; otherwise, ahci device
detection fails miserably.
This patch makes JMicron PCI quirk clear SATA IDE mode bits and set
AHCI mode bits and remove the respective part from pata_jmicron.
Tested on JMB361, 363 and 368.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions