Changeset 56db65d in mainline for uspace/drv/bus/usb/ehci/ehci_bus.c
- Timestamp:
- 2017-10-24T11:06:32Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0206d35
- Parents:
- 894f58c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_bus.c
r894f58c r56db65d 114 114 115 115 116 static int ehci_register_ep(bus_t *bus_base, endpoint_t *ep )116 static int ehci_register_ep(bus_t *bus_base, endpoint_t *ep, const usb_endpoint_desc_t *desc) 117 117 { 118 118 ehci_bus_t *bus = (ehci_bus_t *) bus_base; 119 119 ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep); 120 120 121 const int err = bus->parent_ops.register_endpoint(bus_base, ep); 121 // TODO utilize desc->usb2 122 123 const int err = bus->parent_ops.register_endpoint(bus_base, ep, desc); 122 124 if (err) 123 125 return err;
Note:
See TracChangeset
for help on using the changeset viewer.