]> 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>
Tue, 13 Dec 2011 18:42:30 +0000 (10:42 -0800)
commit64a88e5a76363355aa21b62df76b4b0c0854340b
tree1aee74388dd6110d9f555a890ae58eface952600
parente4871d167100816ab9b1fdf56f44f0aaf02c3443
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