[PATCH] PCI: Give PCI config access initialization a defined ordering
authorAndi Kleen <ak@suse.de>
Thu, 23 Mar 2006 22:35:12 +0000 (14:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:35:12 +0000 (14:35 -0800)
commit92c05fc1a32e5ccef5e0e8201f32dcdab041524c
tree71c0202dffee676d3b2e0b75ea4472aaa2ffe8df
parente4e73041ecc4a3559c42ed9489f58531c2a8646b
[PATCH] PCI: Give PCI config access initialization a defined ordering

I moved it to a separate function which is safer.

This avoids problems with the linker reordering them and the
less useful PCI config space access methods taking priority
over the better ones.

Fixes some problems with broken MMCONFIG

Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/pci/Makefile
arch/i386/pci/direct.c
arch/i386/pci/init.c [new file with mode: 0644]
arch/i386/pci/mmconfig.c
arch/i386/pci/pcbios.c
arch/i386/pci/pci.h
arch/x86_64/pci/Makefile