x86/PCI: read Broadcom CNB20LE host bridge info before PCI scan
commit6361d72b04d1f77736142bc3911a32b814370729
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:28:03 +0000 (28 16:28 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:11:12 +0000 (6 12:11 -0800)
treeaebfdcf273040f6f5ff82dda01ca111da886cf58
parent2b591616ada6cf499a4e83bf453761e40dc53059
x86/PCI: read Broadcom CNB20LE host bridge info before PCI scan

We currently read the CNB20LE aperture information in a PCI quirk,
which happens after we've already created the root bus.  This patch
changes it to read the apertures earlier so we can create the root
bus with the correct resources.

I believe the CNB20LE lives at "pci 0000:00:00" based on
https://lkml.org/lkml/2010/8/13/220

CC: Ira W. Snyder <iws@ovro.caltech.edu>
CC: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/broadcom_bus.c