Changes in uspace/drv/uhci-hcd/batch.c [2cc6e97:f706355] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/batch.c
r2cc6e97 rf706355 76 76 * @param[in] func_out function to call on outbound transfer completion 77 77 * @param[in] arg additional parameter to func_in or func_out 78 * @return Valid pointer if all s ubstructures were successfully created,78 * @return Valid pointer if all structures were successfully created, 79 79 * NULL otherwise. 80 80 * … … 126 126 127 127 qh_init(uhci_data->qh); 128 qh_set_element_td(uhci_data->qh, addr_to_phys(uhci_data->tds));128 qh_set_element_td(uhci_data->qh, uhci_data->tds); 129 129 130 130 usb_transfer_batch_t *instance = malloc(sizeof(usb_transfer_batch_t)); … … 396 396 } 397 397 /*----------------------------------------------------------------------------*/ 398 /** Provides access to QH data structure. 399 * @param[in] instance Batch pointer to use. 400 * @return Pointer to the QH used by the batch. 401 */ 398 402 qh_t * batch_qh(usb_transfer_batch_t *instance) 399 403 {
Note:
See TracChangeset
for help on using the changeset viewer.