Changeset 36124 in vbox for trunk/src/VBox/Devices/Bus
- Timestamp:
- Mar 1, 2011 4:44:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r36116 r36124 1727 1727 1728 1728 int iIrq = aPciIrqs[ich9pciSlotGetPirq(uBus, uDevFn, iPin)]; 1729 Log(("Using pin %d and IRQ %d for device %02x:%02x.%d\n", 1729 Log(("Using pin %d and IRQ %d for device %02x:%02x.%d\n", 1730 1730 iPin, iIrq, uBus, uDevFn>>3, uDevFn&7)); 1731 1731 ich9pciConfigWrite(pGlobals, uBus, uDevFn, VBOX_PCI_INTERRUPT_LINE, iIrq, 1); … … 2571 2571 } 2572 2572 2573 PCIDevSetCommand(pDev, 2574 PCIDevGetCommand(pDev) 2575 & 2576 ~(VBOX_PCI_COMMAND_IO | 2577 VBOX_PCI_COMMAND_MEMORY | 2578 VBOX_PCI_COMMAND_MASTER)); 2579 2580 /* Bridge device reset handlers processed later */ 2581 if (!pciDevIsPci2PciBridge(pDev)) 2582 { 2583 PCIDevSetByte(pDev, VBOX_PCI_CACHE_LINE_SIZE, 0x0); 2584 PCIDevSetInterruptLine(pDev, 0x0); 2573 if (pciDevIsPassthrough(pDev)) 2574 { 2575 // implement reset handler 2576 AssertFailed(); 2577 } 2578 else 2579 { 2580 PCIDevSetCommand(pDev, 2581 PCIDevGetCommand(pDev) 2582 & 2583 ~(VBOX_PCI_COMMAND_IO | 2584 VBOX_PCI_COMMAND_MEMORY | 2585 VBOX_PCI_COMMAND_MASTER)); 2586 2587 /* Bridge device reset handlers processed later */ 2588 if (!pciDevIsPci2PciBridge(pDev)) 2589 { 2590 PCIDevSetByte(pDev, VBOX_PCI_CACHE_LINE_SIZE, 0x0); 2591 PCIDevSetInterruptLine(pDev, 0x0); 2592 } 2585 2593 } 2586 2594 }
Note:
See TracChangeset
for help on using the changeset viewer.