Changeset 53210 in vbox for trunk/src/VBox/Devices/USB
- Timestamp:
- Nov 4, 2014 6:07:07 PM (10 years ago)
- Location:
- trunk/src/VBox/Devices/USB
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r52878 r53210 966 966 uPort--; 967 967 Assert(!pThis->RootHub.aPorts[uPort].pDev); 968 /* Only LS/FS devices can end up here. */ 969 Assert(pDev->pfnGetSpeed(pDev) == VUSB_SPEED_LOW || pDev->pfnGetSpeed(pDev) == VUSB_SPEED_FULL); 968 970 969 971 /* -
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r53062 r53210 1578 1578 1579 1579 /** 1580 * @interface_method_impl{VUSBIDEVICE,pfnGetState} 1581 */ 1582 DECLCALLBACK(VUSBSPEED) vusbIDeviceGetSpeed(PVUSBIDEVICE pInterface) 1583 { 1584 PVUSBDEV pDev = (PVUSBDEV)pInterface; 1585 VUSBSPEED enmSpeed = pDev->pUsbIns->enmSpeed; 1586 1587 LogFlowFunc(("pInterface=%p, returns %u\n", pInterface, enmSpeed)); 1588 return enmSpeed; 1589 } 1590 1591 1592 /** 1580 1593 * The maximum number of interfaces the device can have in all of it's configuration. 1581 1594 * … … 1718 1731 pDev->IDevice.pfnGetState = vusbIDeviceGetState; 1719 1732 pDev->IDevice.pfnIsEmulated = vusbIDeviceIsEmulated; 1733 pDev->IDevice.pfnGetSpeed = vusbIDeviceGetSpeed; 1720 1734 pDev->pUsbIns = pUsbIns; 1721 1735 pDev->pNext = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.