]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/PCI: read Broadcom CNB20LE host bridge info before PCI scan
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:28:03 +0000 (16:28 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 12 Dec 2011 20:53:00 +0000 (12:53 -0800)
commit21db69b0b9555eb6fd63f07d2f2ccc3a52e62349
treec6e4bd7420f6bef6406d06bc0ba69ca49236615e
parent58a0c35d927eb6b29638c7eb324c569b7ff59ccf
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