Changeset 0918382f in mainline for uspace/lib/drv/include/usb_iface.h
- Timestamp:
- 2013-08-07T15:00:36Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 14dd4c9
- Parents:
- 2757247
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usb_iface.h
r2757247 r0918382f 42 42 #include <usb/usb.h> 43 43 44 typedef intptr_t usb_device_handle_t;45 enum {46 USB_DEVICE_HANDLE_INVALID = -147 };48 44 typedef async_sess_t usb_dev_session_t; 49 45 … … 58 54 int usb_release_default_address(async_exch_t *); 59 55 60 int usb_device_enumerate(async_exch_t *, u sb_device_handle_t *);61 int usb_device_remove(async_exch_t *, u sb_device_handle_t);56 int usb_device_enumerate(async_exch_t *, unsigned port); 57 int usb_device_remove(async_exch_t *, unsigned port); 62 58 63 59 int usb_register_endpoint(async_exch_t *, usb_endpoint_t, usb_transfer_type_t, … … 81 77 int (*release_default_address)(ddf_fun_t *); 82 78 83 int (*device_enumerate)(ddf_fun_t *, u sb_device_handle_t *);84 int (*device_remove)(ddf_fun_t *, u sb_device_handle_t);79 int (*device_enumerate)(ddf_fun_t *, unsigned); 80 int (*device_remove)(ddf_fun_t *, unsigned); 85 81 86 82 int (*register_endpoint)(ddf_fun_t *, usb_endpoint_t,
Note:
See TracChangeset
for help on using the changeset viewer.