Changeset 34e8bab in mainline for uspace/drv/uhci-hcd/batch.c


Ignore:
Timestamp:
2011-04-13T21:41:50Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8d517c3, a39cfb8, d8b275d
Parents:
b77ce84 (diff), 3eeb270f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

uhci-hcd cleanup and doxygen

Fixed: usb_endpoint_manager returns EBUSY when trying to unregister active endpoint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/batch.c

    rb77ce84 r34e8bab  
    7676 * @param[in] func_out function to call on outbound transfer completion
    7777 * @param[in] arg additional parameter to func_in or func_out
    78  * @return Valid pointer if all substructures were successfully created,
     78 * @return Valid pointer if all structures were successfully created,
    7979 * NULL otherwise.
    8080 *
     
    126126
    127127        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);
    129129
    130130        usb_transfer_batch_t *instance = malloc(sizeof(usb_transfer_batch_t));
     
    396396}
    397397/*----------------------------------------------------------------------------*/
     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 */
    398402qh_t * batch_qh(usb_transfer_batch_t *instance)
    399403{
Note: See TracChangeset for help on using the changeset viewer.