Changeset 9348862 in mainline for uspace/drv/bus/usb
- Timestamp:
- 2013-09-21T00:43:24Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4cf5b8e0
- Parents:
- 3f03199
- Location:
- uspace/drv/bus/usb
- Files:
-
- 6 edited
-
ohci/hc.c (modified) (1 diff)
-
ohci/ohci.c (modified) (2 diffs)
-
ohci/ohci_endpoint.c (modified) (2 diffs)
-
uhci/hc.c (modified) (1 diff)
-
uhci/uhci.c (modified) (1 diff)
-
vhc/transfer.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r3f03199 r9348862 296 296 { 297 297 assert(hcd); 298 hc_t *instance = hcd-> private_data;298 hc_t *instance = hcd->driver.data; 299 299 assert(instance); 300 300 -
uspace/drv/bus/usb/ohci/ohci.c
r3f03199 r9348862 58 58 assert(dev); 59 59 hcd_t *hcd = dev_to_hcd(dev); 60 if (!hcd || !hcd-> private_data) {60 if (!hcd || !hcd->driver.data) { 61 61 usb_log_warning("Interrupt on device that is not ready.\n"); 62 62 return; … … 64 64 65 65 const uint16_t status = IPC_GET_ARG1(*call); 66 hc_interrupt(hcd-> private_data, status);66 hc_interrupt(hcd->driver.data, status); 67 67 } 68 68 -
uspace/drv/bus/usb/ohci/ohci_endpoint.c
r3f03199 r9348862 90 90 endpoint_set_hc_data( 91 91 ep, ohci_ep, ohci_ep_toggle_get, ohci_ep_toggle_set); 92 hc_enqueue_endpoint(hcd-> private_data, ep);92 hc_enqueue_endpoint(hcd->driver.data, ep); 93 93 return EOK; 94 94 } … … 104 104 assert(ep); 105 105 ohci_endpoint_t *instance = ohci_endpoint_get(ep); 106 hc_dequeue_endpoint(hcd-> private_data, ep);106 hc_dequeue_endpoint(hcd->driver.data, ep); 107 107 if (instance) { 108 108 free32(instance->ed); -
uspace/drv/bus/usb/uhci/hc.c
r3f03199 r9348862 444 444 { 445 445 assert(hcd); 446 hc_t *instance = hcd-> private_data;446 hc_t *instance = hcd->driver.data; 447 447 assert(instance); 448 448 assert(batch); -
uspace/drv/bus/usb/uhci/uhci.c
r3f03199 r9348862 57 57 assert(dev); 58 58 hcd_t *hcd = dev_to_hcd(dev); 59 if (!hcd || !hcd-> private_data) {59 if (!hcd || !hcd->driver.data) { 60 60 usb_log_error("Interrupt on not yet initialized device.\n"); 61 61 return; 62 62 } 63 63 const uint16_t status = IPC_GET_ARG1(*call); 64 hc_interrupt(hcd-> private_data, status);64 hc_interrupt(hcd->driver.data, status); 65 65 } 66 66 -
uspace/drv/bus/usb/vhc/transfer.c
r3f03199 r9348862 167 167 assert(hcd); 168 168 assert(batch); 169 vhc_data_t *vhc = hcd-> private_data;169 vhc_data_t *vhc = hcd->driver.data; 170 170 assert(vhc); 171 171
Note:
See TracChangeset
for help on using the changeset viewer.
