android_kernel_xiaomi_sm8350/drivers/pci
Tejun Heo 7728098967 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>
2007-02-02 11:52:05 -05:00
..
hotplug Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2006-12-22 18:46:56 -08:00
pcie PCI: pcieport-driver: remove invalid warning message 2006-12-20 10:54:42 -08:00
.gitignore
access.c
bus.c
hotplug.c
htirq.c PCI: Use pci_find_ht_capability() in drivers/pci/htirq.c 2006-12-20 10:54:42 -08:00
Kconfig [PATCH] PCI: disable PCI_MULTITHREAD_PROBE 2007-01-05 12:33:05 -08:00
Makefile
msi.c Merge branch 'intx' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 2006-12-07 15:04:20 -08:00
msi.h
pci-acpi.c
pci-driver.c PCI: fix pci-driver kernel-doc 2007-01-22 12:00:54 -08:00
pci-sysfs.c
pci.c [PATCH] increment pos before looking for the next cap in __pci_find_next_ht_cap 2007-01-11 18:18:20 -08:00
pci.h
probe.c [PATCH] pci/probe: fix macro that confuses kernel-doc 2006-12-30 10:55:55 -08:00
proc.c [PATCH] struct path: convert pci 2006-12-08 08:28:48 -08:00
quirks.c ahci/pata_jmicron: fix JMicron quirk 2007-02-02 11:52:05 -05:00
remove.c
rom.c
search.c [PATCH] pci: remove warning messages 2007-02-01 16:22:41 -08:00
setup-bus.c [PATCH] increase CARDBUS_MEM_SIZE 2006-12-22 08:55:51 -08:00
setup-irq.c
setup-res.c PCI legacy resource fix 2006-12-20 10:54:43 -08:00
syscall.c