diff options
author | Ian Romanick <idr@umwelt.(none)> | 2006-07-31 14:33:58 -0700 |
---|---|---|
committer | Ian Romanick <idr@umwelt.(none)> | 2006-07-31 14:33:58 -0700 |
commit | a94176627cdd6122ffadb618995f9bcec872609a (patch) | |
tree | 20c10cac23e1bc9073a3403c46a26b9b4ba91262 /hw/xfree86/os-support/bus/Pci.c | |
parent | 26c9587f90806cce1c0d2a98e656e9c311a34ee5 (diff) |
Eliminate all uses of the businfo field of pciDevice / pciConfigPtr.
Diffstat (limited to 'hw/xfree86/os-support/bus/Pci.c')
-rw-r--r-- | hw/xfree86/os-support/bus/Pci.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/hw/xfree86/os-support/bus/Pci.c b/hw/xfree86/os-support/bus/Pci.c index 31e58da48..456dd5ee3 100644 --- a/hw/xfree86/os-support/bus/Pci.c +++ b/hw/xfree86/os-support/bus/Pci.c @@ -425,11 +425,6 @@ xf86scanpci(int flags) if (i > devp->busnum) { if (pciBusInfo[i]) { pciBusInfo[i]->bridge = devp; - /* - * The back link needs to be set here, and is unlikely to - * change. - */ - devp->businfo = pciBusInfo[i]; } #ifdef ARCH_PCI_PCI_BRIDGE ARCH_PCI_PCI_BRIDGE(devp); @@ -452,16 +447,6 @@ xf86scanpci(int flags) XF86SCANPCI_WRAPPER(SCANPCI_TERM); #endif - /* - * Lastly, link bridges to their secondary bus, after the architecture has - * had a chance to modify these assignments. - */ - for (idx = 0; idx < pciNumBuses; idx++) { - if (!(busp = pciBusInfo[idx]) || !(devp = busp->bridge)) - continue; - devp->businfo = busp; - } - xf86MsgVerb(X_INFO, 2, "PCI: End of PCI scan\n"); return pci_devp; |