Changeset 5fd9c30 in mainline for uspace/drv/bus/usb/ehci/ehci_bus.c
- Timestamp:
- 2017-10-21T20:52:56Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 766043c
- Parents:
- 74b852b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_bus.c
r74b852b r5fd9c30 41 41 42 42 #include "ehci_bus.h" 43 #include "ehci_batch.h" 43 44 #include "hc.h" 44 45 … … 140 141 hc_dequeue_endpoint(bus->hc, ep); 141 142 return EOK; 143 } 142 144 145 static usb_transfer_batch_t *ehci_bus_create_batch(bus_t *bus, endpoint_t *ep) 146 { 147 ehci_transfer_batch_t *batch = ehci_transfer_batch_create(ep); 148 return &batch->base; 149 } 150 151 static void ehci_bus_destroy_batch(usb_transfer_batch_t *batch) 152 { 153 ehci_transfer_batch_destroy(ehci_transfer_batch_get(batch)); 143 154 } 144 155 … … 161 172 ops->release_endpoint = ehci_release_ep; 162 173 174 ops->create_batch = ehci_bus_create_batch; 175 ops->destroy_batch = ehci_bus_destroy_batch; 176 163 177 bus->hc = hc; 164 178
Note:
See TracChangeset
for help on using the changeset viewer.