From: Matthew Garrett Date: Tue, 27 Jan 2009 01:03:35 +0000 (+0000) Subject: PCI hotplug: Change link order of pciehp & acpiphp X-Git-Tag: v2.6.29-rc4~65^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71a082efc9fdc12068a3cee6cebb1330b00ebeee;p=pandora-kernel.git 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 Acked-by: Randy Dunlap Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed