OSDN Git Service

powerpc/PCI: register busn_res for root buses
authorYinghai Lu <yinghai@kernel.org>
Fri, 18 May 2012 01:51:12 +0000 (18:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 13 Jun 2012 21:42:24 +0000 (15:42 -0600)
commitbe8e60d8bed118b19bd7038ac2f6ac6688d072d9
tree3f3c00e36e6de73b4916b0f68a78d6a423b871ff
parent3f1b540d460589e20df882aa2c86808d113890a8
powerpc/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]
CC: Paul Mackerras <paulus@samba.org>
CC: linuxppc-dev@lists.ozlabs.org
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci_of_scan.c