summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/pci_impl.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-05-18 01:51:12 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-06-13 21:42:24 (GMT)
commit3f1b540d460589e20df882aa2c86808d113890a8 (patch)
tree15fe2486f005e3370e7a02e4c7c29ec4e52f0bb9 /arch/sparc/kernel/pci_impl.h
parent2661b819a10d432aa6f508630ff72e31367d4f21 (diff)
downloadlinux-3f1b540d460589e20df882aa2c86808d113890a8.tar.xz
sparc/PCI: register busn_res for root buses
Add the host bridge bus number aperture to the resource list. Like the MMIO and I/O port apertures, this is used when assigning resources to hot-added devices or in the case of conflicts. [bhelgaas: changelog, fix "pci_last_busn" typo] Acked-by: "David S. Miller" <davem@davemloft.net> CC: sparclinux@vger.kernel.org Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/sparc/kernel/pci_impl.h')
-rw-r--r--arch/sparc/kernel/pci_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/pci_impl.h b/arch/sparc/kernel/pci_impl.h
index 6beb60d..918a203 100644
--- a/arch/sparc/kernel/pci_impl.h
+++ b/arch/sparc/kernel/pci_impl.h
@@ -97,6 +97,7 @@ struct pci_pbm_info {
/* PBM I/O and Memory space resources. */
struct resource io_space;
struct resource mem_space;
+ struct resource busn;
/* Base of PCI Config space, can be per-PBM or shared. */
unsigned long config_space;