]> git.baikalelectronics.ru Git - kernel.git/commit
sparc/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)
commit77ffbb9da26f694f36d5709a69936b95923c473f
tree15fe2486f005e3370e7a02e4c7c29ec4e52f0bb9
parentb1fea17e163120e51a374c3c1238f1b6bf4d9f08
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>
arch/sparc/kernel/pci.c
arch/sparc/kernel/pci_impl.h