VirtualBox

Changeset 64699 in vbox for trunk


Ignore:
Timestamp:
Nov 17, 2016 6:24:16 PM (8 years ago)
Author:
vboxsync
Message:

ich9pciBiosInitBridgeTopology: Missed VBOX_PCI_SUBORDINATE_BUS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPciIch9.cpp

    r64697 r64699  
    17071707    }
    17081708
     1709    uint32_t uMaxSubNum = 0;
    17091710    for (uint32_t iBridge = 0; iBridge < pBus->cBridges; iBridge++)
    17101711    {
     
    17141715        PDEVPCIBUS pChildBus = PDMINS_2_DATA(pBridge->Int.s.CTX_SUFF(pDevIns), PDEVPCIBUS);
    17151716        ich9pciBiosInitBridgeTopology(pPciRoot, pChildBus, uBusSecondary, pChildBus->iBus);
    1716     }
    1717     PCIDevSetByte(pBridgeDev, VBOX_PCI_SUBORDINATE_BUS, pPciRoot->uPciBiosBus);
     1717        uMaxSubNum = RT_MAX(uMaxSubNum, pChildBus->iBus);
     1718    }
     1719    PCIDevSetByte(pBridgeDev, VBOX_PCI_SUBORDINATE_BUS, uMaxSubNum);
    17181720    Log2(("ich9pciBiosInitBridgeTopology: for bus %p: primary=%d secondary=%d subordinate=%d\n",
    17191721          pBus,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette