Changeset 58340 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/solaris/VBoxUSB-solaris.c
- Timestamp:
- Oct 20, 2015 1:58:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/solaris/VBoxUSB-solaris.c
r57358 r58340 330 330 LOCAL bool vboxUSBSolarisIsUSBDevice(dev_info_t *pDip); 331 331 332 /** Device Operation Hooks */ 332 /** @name Device Operation Hooks 333 * @{ */ 333 334 LOCAL int vboxUSBSolarisSendURB(vboxusb_state_t *pState, PVBOXUSBREQ_URB pUrbReq, int Mode); 334 335 LOCAL int vboxUSBSolarisReapURB(vboxusb_state_t *pState, PVBOXUSBREQ_URB pUrbReq, int Mode); … … 340 341 LOCAL int vboxUSBSolarisAbortPipe(vboxusb_state_t *pState, uint8_t bEndpoint); 341 342 LOCAL int vboxUSBSolarisGetConfigIndex(vboxusb_state_t *pState, uint_t uCfgValue); 342 343 /** Hotplug & Power Management Hooks */ 343 /** @} */ 344 345 /** @name Hotplug & Power Management Hooks 346 * @{ */ 344 347 LOCAL inline void vboxUSBSolarisNotifyHotplug(vboxusb_state_t *pState); 345 348 LOCAL int vboxUSBSolarisDeviceDisconnected(dev_info_t *pDip); … … 353 356 LOCAL void vboxUSBSolarisPowerBusy(vboxusb_state_t *pState); 354 357 LOCAL void vboxUSBSolarisPowerIdle(vboxusb_state_t *pState); 355 356 /** Monitor Hooks */ 358 /** @} */ 359 360 /** @name Monitor Hooks 361 * @{ */ 357 362 int VBoxUSBMonSolarisRegisterClient(dev_info_t *pClientDip, PVBOXUSB_CLIENT_INFO pClientInfo); 358 363 int VBoxUSBMonSolarisUnregisterClient(dev_info_t *pClientDip); 359 360 /** Callbacks from Monitor */ 364 /** @} */ 365 366 /** @name Callbacks from Monitor 367 * @{ */ 361 368 LOCAL int vboxUSBSolarisSetConsumerCredentials(RTPROCESS Process, int Instance, void *pvReserved); 369 /** @} */ 362 370 363 371 … … 1551 1559 * Convert Solaris' USBA device state to VBox's error code. 1552 1560 * 1553 * @param UsbRc Solaris USBA error code.1561 * @param uDeviceState The USB device state to convert. 1554 1562 * 1555 1563 * @returns VBox error code. … … 2060 2068 * 2061 2069 * @param pState The USB device instance. 2062 * @param uCfgValue The Configuration value.2070 * @param bCfgValue The Configuration value. 2063 2071 * 2064 2072 * @returns VBox error code. … … 2216 2224 * 2217 2225 * @param pState The USB device instance. 2218 * @param ResetLevelThe reset level.2226 * @param enmReset The reset level. 2219 2227 * 2220 2228 * @returns VBox error code. … … 2350 2358 * @param pEpData The Endpoint data. 2351 2359 * @param uCfgValue The Configuration value. 2352 * @param uCfgIndex The Configuration index.2353 2360 * @param uInterface The Interface. 2354 2361 * @param uAlt The Alternate setting. … … 2357 2364 */ 2358 2365 LOCAL int vboxUSBSolarisInitEndPoint(vboxusb_state_t *pState, usb_ep_data_t *pEpData, uchar_t uCfgValue, 2359 uchar_t uInterface, uchar_t uAlt)2366 uchar_t uInterface, uchar_t uAlt) 2360 2367 { 2361 2368 LogFunc((DEVICE_NAME ":vboxUSBSolarisInitEndPoint pState=%p pEpData=%p CfgVal=%d Iface=%d Alt=%d", pState, … … 2815 2822 * 2816 2823 * @param pState The USB device instance. 2817 * @param pUrb The URB to initialize.2818 2824 * @param pUrbReq Opaque pointer to the complete request. 2819 * @param pMsg Pointer to the allocated request data.2820 2825 * 2821 2826 * @returns The allocated Isoc. In URB to be used.
Note:
See TracChangeset
for help on using the changeset viewer.