Changes in uspace/lib/drv/include/usb_iface.h [95120c3:56fb3732] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usb_iface.h
r95120c3 r56fb3732 27 27 */ 28 28 29 /** @addtogroup libdrv 30 * @addtogroup usb 29 /** @addtogroup libdrv usb 31 30 * @{ 32 31 */ … … 41 40 #include <usb/usb.h> 42 41 typedef enum { 43 /** Tell USB address assigned to device.44 * Parameters:45 * - devman handle id46 * Answer:47 * - EINVAL - unknown handle or handle not managed by this driver48 * - ENOTSUP - operation not supported (shall not happen)49 * - arbitrary error code if returned by remote implementation50 * - EOK - handle found, first parameter contains the USB address51 */52 IPC_M_USB_GET_ADDRESS,53 54 /** Tell interface number given device can use.55 * Parameters56 * - devman handle id of the device57 * Answer:58 * - ENOTSUP - operation not supported (can also mean any interface)59 * - EOK - operation okay, first parameter contains interface number60 */61 IPC_M_USB_GET_INTERFACE,62 63 42 /** Tell devman handle of device host controller. 64 43 * Parameters: … … 75 54 /** USB device communication interface. */ 76 55 typedef struct { 77 int (*get_address)(device_t *, devman_handle_t, usb_address_t *);78 int (*get_interface)(device_t *, devman_handle_t, int *);79 56 int (*get_hc_handle)(device_t *, devman_handle_t *); 80 57 } usb_iface_t;
Note:
See TracChangeset
for help on using the changeset viewer.