Changeset 64860 in vbox for trunk/src/VBox/Devices/Samples
- Timestamp:
- Dec 13, 2016 8:22:08 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Samples/DevPlayground.cpp
r64387 r64860 167 167 PCIDevSetClassBase(&pFun->PciDev, 0x07); /* communications device */ 168 168 PCIDevSetClassSub( &pFun->PciDev, 0x80); /* other communications device */ 169 if (iPciFun == 0) /* only for the primary function */ 170 PCIDevSetHeaderType(&pFun->PciDev, 0x80); /* normal, multifunction device */ 171 169 172 int rc = PDMDevHlpPCIRegisterEx(pDevIns, &pFun->PciDev, iPciFun, 0 /*fFlags*/, iPciDevNo, iPciFun, 170 173 pThis->aPciFuns[iPciFun].szName);
Note:
See TracChangeset
for help on using the changeset viewer.