Changeset 4fe3b6d in mainline for uspace/drv/ohci/endpoint_list.h


Ignore:
Timestamp:
2011-05-20T11:07:00Z (15 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8bb61e6
Parents:
3476be8 (diff), 7941bd6 (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:

merge with development

File:
1 edited

Legend:

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

    r3476be8 r4fe3b6d  
    4141#include "utils/malloc32.h"
    4242
    43 typedef struct endpoint_list
    44 {
     43/** Structure maintains both OHCI queue and software list of active endpoints.*/
     44typedef struct endpoint_list {
     45        /** Guard against add/remove races */
    4546        fibril_mutex_t guard;
     47        /** OHCI hw structure at the beginning of the queue */
    4648        ed_t *list_head;
     49        /** Physical address of the first(dummy) ED */
    4750        uint32_t list_head_pa;
     51        /** Assigned name, provides nicer debug output */
    4852        const char *name;
     53        /** Sw list of all active EDs */
    4954        link_t endpoint_list;
    5055} endpoint_list_t;
     
    5459 * @param[in] instance Memory place to use.
    5560 *
    56  * Frees memory for internal qh_t structure.
     61 * Frees memory of the internal ed_t structure.
    5762 */
    5863static inline void endpoint_list_fini(endpoint_list_t *instance)
     
    6368
    6469int endpoint_list_init(endpoint_list_t *instance, const char *name);
    65 
    6670void endpoint_list_set_next(endpoint_list_t *instance, endpoint_list_t *next);
    67 
    6871void endpoint_list_add_ep(endpoint_list_t *instance, hcd_endpoint_t *hcd_ep);
    69 
    7072void endpoint_list_remove_ep(endpoint_list_t *instance, hcd_endpoint_t *hcd_ep);
    71 #if 0
    72 void endpoint_list_remove_finished(endpoint_list_t *instance, link_t *done);
    73 
    74 void endpoint_list_abort_all(endpoint_list_t *instance);
    75 #endif
    7673#endif
    7774/**
Note: See TracChangeset for help on using the changeset viewer.