Changes in uspace/drv/uhci-hcd/batch.c [f706355:2cc6e97] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/batch.c
rf706355 r2cc6e97 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 tructures were successfully created,78 * @return Valid pointer if all substructures 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, uhci_data->tds);128 qh_set_element_td(uhci_data->qh, addr_to_phys(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 */402 398 qh_t * batch_qh(usb_transfer_batch_t *instance) 403 399 {
Note:
See TracChangeset
for help on using the changeset viewer.