Changeset 50230 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 24, 2014 9:30:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/solaris/USBProxyDevice-solaris.cpp
r50228 r50230 290 290 static DECLCALLBACK(int) usbProxySolarisOpen(PUSBPROXYDEV pProxyDev, const char *pszAddress, void *pvBackend) 291 291 { 292 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);292 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 293 293 294 294 LogFlowFunc((USBPROXY ":usbProxySolarisOpen pProxyDev=%p pszAddress=%s pvBackend=%p\n", pProxyDev, pszAddress, pvBackend)); … … 406 406 LogFlow((USBPROXY ":usbProxySolarisClose: pProxyDev=%p\n", pProxyDev)); 407 407 408 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);408 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 409 409 410 410 /* Close the device (do not re-enumerate). */ … … 456 456 457 457 /** Pass all resets to the device. The Trekstor USB (1.1) stick requires this to work. */ 458 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);458 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 459 459 460 460 /* Soft reset the device. */ … … 488 488 LogFlowFunc((USBPROXY ":usbProxySolarisSetConfig: pProxyDev=%p iCfg=%#x\n", pProxyDev, iCfg)); 489 489 490 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);490 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 491 491 AssertPtrReturn(pDevSol, VERR_INVALID_POINTER); 492 492 … … 541 541 LogFlowFunc((USBPROXY ":usbProxySolarisSetInterface: pProxyDev=%p iIf=%d iAlt=%d\n", pProxyDev, iIf, iAlt)); 542 542 543 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);543 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 544 544 AssertPtrReturn(pDevSol, VERR_INVALID_POINTER); 545 545 … … 565 565 LogFlowFunc((USBPROXY ":usbProxySolarisClearHaltedEp pProxyDev=%p EndPt=%#x\n", pProxyDev, EndPt)); 566 566 567 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);567 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 568 568 AssertPtrReturn(pDevSol, VERR_INVALID_POINTER); 569 569 … … 587 587 { 588 588 PUSBPROXYDEV pProxyDev = PDMINS_2_DATA(pUrb->pUsbIns, PUSBPROXYDEV); 589 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);589 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 590 590 591 591 LogFlowFunc((USBPROXY ": usbProxySolarisUrbQueue: pProxyDev=%s pUrb=%p EndPt=%#x enmDir=%d cbData=%d pvData=%p\n", … … 655 655 656 656 PUSBPROXYDEV pProxyDev = PDMINS_2_DATA(pUrb->pUsbIns, PUSBPROXYDEV); 657 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);657 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 658 658 AssertPtrReturnVoid(pDevSol); 659 659 … … 690 690 //LogFlowFunc((USBPROXY ":usbProxySolarisUrbReap pProxyDev=%p cMillies=%u\n", pProxyDev, cMillies)); 691 691 692 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);692 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 693 693 694 694 /* … … 880 880 static DECLCALLBACK(int) usbProxySolarisWakeup(PUSBPROXYDEV pProxyDev) 881 881 { 882 PUSBPROXYDEV FBSDpDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL);882 PUSBPROXYDEVSOL pDevSol = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVSOL); 883 883 size_t cbIgnored; 884 884
Note:
See TracChangeset
for help on using the changeset viewer.