forked from Minki/linux
92c05fc1a3
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>
26 lines
639 B
Makefile
26 lines
639 B
Makefile
#
|
|
# Makefile for X86_64 specific PCI routines
|
|
#
|
|
# Reuse the i386 PCI subsystem
|
|
#
|
|
CFLAGS += -Iarch/i386/pci
|
|
|
|
obj-y := i386.o
|
|
obj-$(CONFIG_PCI_DIRECT)+= direct.o
|
|
obj-y += fixup.o init.o
|
|
obj-$(CONFIG_ACPI) += acpi.o
|
|
obj-y += legacy.o irq.o common.o
|
|
# mmconfig has a 64bit special
|
|
obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o direct.o
|
|
|
|
obj-$(CONFIG_NUMA) += k8-bus.o
|
|
|
|
direct-y += ../../i386/pci/direct.o
|
|
acpi-y += ../../i386/pci/acpi.o
|
|
legacy-y += ../../i386/pci/legacy.o
|
|
irq-y += ../../i386/pci/irq.o
|
|
common-y += ../../i386/pci/common.o
|
|
fixup-y += ../../i386/pci/fixup.o
|
|
i386-y += ../../i386/pci/i386.o
|
|
init-y += ../../i386/pci/init.o
|