Changeset 36116 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Mar 1, 2011 12:30:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r36092 r36116 1531 1531 static void ich9pciBiosInitBridge(PPCIGLOBALS pGlobals, uint8_t uBus, uint8_t uDevFn) 1532 1532 { 1533 Log(("BIOS init device: %0x2::%02x.%d\n", uBus, uDevFn >> 3, uDevFn & 7));1533 Log(("BIOS init bridge: %02x::%02x.%d\n", uBus, uDevFn >> 3, uDevFn & 7)); 1534 1534 1535 1535 /* … … 1556 1556 uint32_t u32IoAddressBase = pGlobals->uPciBiosIo; 1557 1557 uint32_t u32MMIOAddressBase = pGlobals->uPciBiosMmio; 1558 uint8_t uBridgeBus = ich9pciConfigRead(pGlobals, uBus, uDevFn, VBOX_PCI_SECONDARY_BUS, 1); 1558 1559 1559 1560 /* Init devices behind the bridge and possibly other bridges as well. */ 1560 1561 for (int iDev = 0; iDev <= 255; iDev++) 1561 ich9pciBiosInitDevice(pGlobals, uB us + 1, iDev);1562 ich9pciBiosInitDevice(pGlobals, uBridgeBus, iDev); 1562 1563 1563 1564 /* … … 1607 1608 if (uVendor == 0xffff) 1608 1609 return; 1610 1611 Log(("BIOS init device: %02x::%02x.%d\n", uBus, uDevFn >> 3, uDevFn & 7)); 1609 1612 1610 1613 switch (uDevClass) … … 2441 2444 PCIDevSetRevisionId(&pBus->aPciDev, 0x92); /* rev. A2 */ 2442 2445 PCIDevSetClassBase( &pBus->aPciDev, 0x06); /* bridge */ 2443 PCIDevSetClassSub( &pBus->aPciDev, 0x0 4); /* Host/PCI bridge */2446 PCIDevSetClassSub( &pBus->aPciDev, 0x00); /* Host/PCI bridge */ 2444 2447 PCIDevSetClassProg( &pBus->aPciDev, 0x01); /* Supports subtractive decoding. */ 2445 2448 PCIDevSetHeaderType(&pBus->aPciDev, 0x01); /* bridge */
Note:
See TracChangeset
for help on using the changeset viewer.