Changeset a56a13c in mainline for uspace/lib/usb/include/usb/hc.h
- Timestamp:
- 2011-12-12T12:35:50Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d02834c
- Parents:
- dbb7e3b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/hc.h
rdbb7e3b ra56a13c 109 109 } 110 110 111 int usb_ddf_get_hc_handle_by_sid(service_id_t, devman_handle_t *); 111 /** Get host controller handle by its class index. 112 * 113 * @param sid Service ID of the HC function. 114 * @param hc_handle Where to store the HC handle 115 * (can be NULL for existence test only). 116 * @return Error code. 117 */ 118 static inline int usb_ddf_get_hc_handle_by_sid( 119 service_id_t sid, devman_handle_t *handle) 120 { 121 devman_handle_t h; 122 return devman_fun_sid_to_handle(sid, handle ? handle : &h); 123 } 112 124 113 125 #endif
Note:
See TracChangeset
for help on using the changeset viewer.