android_kernel_xiaomi_sm8350/drivers/pci/hotplug
Matthew Garrett 71a082efc9 PCI hotplug: Change link order of pciehp & acpiphp
Some hardware exposes PCIE slots in such a way that they can be claimed
by either the acpiphp or pciehp driver. pciehp is the preferred driver
if the firmware allows the OS to claim control via the _OSC method so
should be loaded first - if it fails to bind (either due to a missing
_OSC method or the firmware refusing to hand off control) then we can
fall back to acpiphp or a vendor-specific driver.

This patch simply changes the link order to ensure that pciehp will be
initialised before acpiphp if both are statically built into the kernel.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-01-27 15:35:51 -08:00
..
acpi_pcihp.c Merge branch 'linus' into release 2009-01-09 03:39:43 -05:00
acpiphp_core.c
acpiphp_glue.c ACPI PCI hotplug: harden against panic regression 2009-01-16 15:20:00 -05:00
acpiphp_ibm.c PCI: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-07 11:12:23 -08:00
acpiphp.h PCI hotplug: acpiphp whitespace cleanup 2009-01-07 11:12:42 -08:00
cpci_hotplug_core.c
cpci_hotplug_pci.c
cpci_hotplug.h
cpcihp_generic.c
cpcihp_zt5550.c
cpcihp_zt5550.h
cpqphp_core.c
cpqphp_ctrl.c PCI hotplug: remove redundant test in cpq hotplug 2009-01-07 11:13:22 -08:00
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c PCI hotplug: cpqphp: use config space PCI interrupt pin encoding 2009-01-07 11:12:47 -08:00
cpqphp_sysfs.c
cpqphp.h
fakephp.c PCI hotplug: fakephp: Allocate PCI resources before adding the device 2009-01-27 10:53:24 -08:00
ibmphp_core.c
ibmphp_ebda.c
ibmphp_hpc.c
ibmphp_pci.c
ibmphp_res.c
ibmphp.h
Kconfig
Makefile PCI hotplug: Change link order of pciehp & acpiphp 2009-01-27 15:35:51 -08:00
pci_hotplug_core.c
pciehp_acpi.c PCI hotplug: introduce functions for ACPI slot detection 2009-01-07 11:13:11 -08:00
pciehp_core.c PCI hotplug: fix lock imbalance in pciehp 2009-01-19 10:55:54 -08:00
pciehp_ctrl.c
pciehp_hpc.c PCI: pciehp: cleanup register and field definitions 2009-01-07 11:13:22 -08:00
pciehp_pci.c
pciehp.h Merge branch 'linus' into release 2009-01-09 03:39:43 -05:00
pcihp_skeleton.c
rpadlpar_core.c
rpadlpar_sysfs.c
rpadlpar.h
rpaphp_core.c
rpaphp_pci.c
rpaphp_slot.c
rpaphp.h
sgi_hotplug.c
shpchp_core.c
shpchp_ctrl.c
shpchp_hpc.c
shpchp_pci.c
shpchp_sysfs.c
shpchp.h