Changeset e6b9182 in mainline for uspace/drv/bus/usb/xhci/bus.c
- Timestamp:
- 2017-10-13T08:49:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 741bcdeb
- Parents:
- 0a5833d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/bus.c
r0a5833d7 re6b9182 171 171 172 172 /* Endpoint ops, optional (have generic fallback) */ 173 static intendpoint_get_toggle(endpoint_t *ep)174 { 175 // TODO: Implement me! 176 return ENOTSUP; 177 } 178 179 static void endpoint_set_toggle(endpoint_t *ep, unsignedtoggle)173 static bool endpoint_get_toggle(endpoint_t *ep) 174 { 175 // TODO: Implement me! 176 return ENOTSUP; 177 } 178 179 static void endpoint_set_toggle(endpoint_t *ep, bool toggle) 180 180 { 181 181 // TODO: Implement me! … … 227 227 }; 228 228 229 int xhci_bus_init(xhci_bus_t *bus , hcd_t *hcd)230 { 231 assert(bus); 232 233 bus_init(&bus->base , hcd);229 int xhci_bus_init(xhci_bus_t *bus) 230 { 231 assert(bus); 232 233 bus_init(&bus->base); 234 234 235 235 if (!hash_table_create(&bus->endpoints, 0, 0, &endpoint_ht_ops)) {
Note:
See TracChangeset
for help on using the changeset viewer.