summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2009-03-20 14:56:10 -0600
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 14:57:21 -0700
commit74710ded8e16fc8dacbb702a5bac1a493d88549a (patch)
tree274171a30a202a708a6aacbf9e0a693a2b5474ad /drivers/pci/pci.h
parent1b69dfc649e6658fc38499cf704750d74cabc73d (diff)
downloadtalos-op-linux-74710ded8e16fc8dacbb702a5bac1a493d88549a.tar.gz
talos-op-linux-74710ded8e16fc8dacbb702a5bac1a493d88549a.zip
PCI: always scan child buses
While scanning bridges, we stop our scan if we encounter a bus that we've seen before, to work around some buggy chipsets. This is a good idea, but prevents us from fully scanning the PCI bus at a future time (to find newly hot-added devices, for example). Change the logic so that we skip _re-adding_ an existing bus that we've seen before, but also allow the scan to descend to all child buses. Now that we're potentially scanning our child buses again, we also need to be sure not to attempt re-initializing their BARs so we avoid that. This patch lays the groundwork to allow the user to issue a rescan of the PCI bus at any time. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud