Changeset f58154c5 in mainline for uspace/drv/ohci/endpoint_list.h


Ignore:
Timestamp:
2011-05-18T10:59: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:
17fc40c
Parents:
b2995c3 (diff), aeca5a3 (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:

Minor fixes and comments

UHCI: use provided barrier defines (buffer allocator should be able to use cacheable memory)
libusb: make usb enumeration routine follow USB spec more closely (wait periods)
OHCI: handle hw errors
OHCI: use provided barrier defines (buffer allocator should be able to use cacheable memory)
OHCI: reduce maximum buffer size for one transaction, this relaxes requirements on allocator providing hw accessible buffers.(memory does not have to be continuous) The only requirement that stays is the 32bit pointers limit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/endpoint_list.h

    rb2995c3 rf58154c5  
    4141#include "utils/malloc32.h"
    4242
    43 typedef struct endpoint_list {
     43/** Structure maintains both OHCI queue and software list of active endpoints.*/
     44typedef struct endpoint_list
     45{
     46        /** Guard against add/remove races */
    4447        fibril_mutex_t guard;
     48        /** OHCI hw structure at the beginning of the queue */
    4549        ed_t *list_head;
     50        /** Physical address of the first(dummy) ED */
    4651        uint32_t list_head_pa;
     52        /** Assigned name, provides nicer debug output */
    4753        const char *name;
     54        /** Sw list of all active EDs */
    4855        link_t endpoint_list;
    4956} endpoint_list_t;
     
    5360 * @param[in] instance Memory place to use.
    5461 *
    55  * Frees memory for internal qh_t structure.
     62 * Frees memory of the internal ed_t structure.
    5663 */
    5764static inline void endpoint_list_fini(endpoint_list_t *instance)
     
    6875
    6976void endpoint_list_remove_ep(endpoint_list_t *instance, hcd_endpoint_t *hcd_ep);
    70 #if 0
    71 void endpoint_list_remove_finished(endpoint_list_t *instance, link_t *done);
    72 
    73 void endpoint_list_abort_all(endpoint_list_t *instance);
    74 #endif
    7577#endif
    7678/**
Note: See TracChangeset for help on using the changeset viewer.