Changeset b4b534ac in mainline for uspace/lib/usb/include/usb/dev.h
- Timestamp:
- 2016-07-22T08:24:47Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f76d2c2
- Parents:
- 5b18137 (diff), 8351f9a4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/dev.h
r5b18137 rb4b534ac 36 36 37 37 #include <devman.h> 38 #include <usb/usb.h>39 38 40 int usb_get_info_by_handle(devman_handle_t, 41 devman_handle_t *, usb_address_t *, int *); 42 43 static inline int usb_get_hc_by_handle(devman_handle_t dev, devman_handle_t *hc) 44 { 45 return usb_get_info_by_handle(dev, hc, NULL, NULL); 46 } 47 48 static inline int usb_get_address_by_handle( 49 devman_handle_t dev, usb_address_t *address) 50 { 51 return usb_get_info_by_handle(dev, NULL, address, NULL); 52 } 53 54 static inline int usb_get_iface_by_handle(devman_handle_t dev, int *iface) 55 { 56 return usb_get_info_by_handle(dev, NULL, NULL, iface); 57 } 58 59 int usb_resolve_device_handle(const char *, devman_handle_t *, usb_address_t *, 60 devman_handle_t *); 39 int usb_resolve_device_handle(const char *, devman_handle_t *); 61 40 #endif 62 41 /**
Note:
See TracChangeset
for help on using the changeset viewer.