PCI: X86: Introduce and enable PCI domain support
authorJeff Garzik <jeff@garzik.org>
Thu, 11 Oct 2007 20:58:30 +0000 (16:58 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 22:03:19 +0000 (15:03 -0700)
commita79e4198d1effbba040e9bf407a95fc9b3418789
treebbfeed15db3a03c3e7f50ae36f18c017fb940b9e
parent32a2eea795643929a43cbbba00d8c4a176b309bf
PCI: X86: Introduce and enable PCI domain support

* fix bug in pci_read() and pci_write() which prevented PCI domain
  support from working (hardcoded domain 0).

* unconditionally enable CONFIG_PCI_DOMAINS

* implement pci_domain_nr() and pci_proc_domain(), as required of
  all arches when CONFIG_PCI_DOMAINS is enabled.

* store domain in struct pci_sysdata, as assigned by ACPI

* support "pci=nodomains"

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/Kconfig
arch/x86/pci/acpi.c
arch/x86/pci/common.c
arch/x86_64/Kconfig
include/asm-x86/pci_32.h
include/asm-x86/pci_64.h