Changeset 32725 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 23, 2010 2:21:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r32077 r32725 5378 5378 pOhci->pDevInsR0 = PDMDEVINS_2_R0PTR(pDevIns); 5379 5379 pOhci->pDevInsRC = PDMDEVINS_2_RCPTR(pDevIns); 5380 const uint16_t vid = 0x106b; 5381 pOhci->PciDev.config[0x00] = vid & 0xff; 5382 pOhci->PciDev.config[0x01] = (vid >> 8) & 0xff; 5383 const uint16_t did = 0x003f; 5384 pOhci->PciDev.config[0x02] = did & 0xff; 5385 pOhci->PciDev.config[0x03] = (did >> 8) & 0xff; 5386 pOhci->PciDev.config[0x09] = 0x10; /* OHCI */ 5387 pOhci->PciDev.config[0x0a] = 0x3; 5388 pOhci->PciDev.config[0x0b] = 0xc; 5389 pOhci->PciDev.config[0x3d] = 0x01; 5380 5381 PCIDevSetVendorId (&pOhci->PciDev, 0x106b); 5382 PCIDevSetDeviceId (&pOhci->PciDev, 0x003f); 5383 PCIDevSetClassProg (&pOhci->PciDev, 0x10); /* OHCI */ 5384 PCIDevSetClassSub (&pOhci->PciDev, 0x03); 5385 PCIDevSetClassBase (&pOhci->PciDev, 0x0c); 5386 PCIDevSetInterruptPin (&pOhci->PciDev, 0x01); 5387 5390 5388 pOhci->RootHub.pOhci = pOhci; 5391 5389 pOhci->RootHub.IBase.pfnQueryInterface = ohciRhQueryInterface;
Note:
See TracChangeset
for help on using the changeset viewer.