Changeset 293de44 in mainline for uspace/drv/ohci/endpoint_list.h


Ignore:
Timestamp:
2011-05-20T11:18:53Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c7c2443
Parents:
160b75e (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 development/ changes

File:
1 edited

Legend:

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

    r160b75e r293de44  
    4141#include "utils/malloc32.h"
    4242
     43/** Structure maintains both OHCI queue and software list of active endpoints.*/
    4344typedef struct endpoint_list {
     45        /** Guard against add/remove races */
    4446        fibril_mutex_t guard;
     47        /** OHCI hw structure at the beginning of the queue */
    4548        ed_t *list_head;
     49        /** Physical address of the first(dummy) ED */
    4650        uint32_t list_head_pa;
     51        /** Assigned name, provides nicer debug output */
    4752        const char *name;
     53        /** Sw list of all active EDs */
    4854        link_t endpoint_list;
    4955} endpoint_list_t;
     
    5359 * @param[in] instance Memory place to use.
    5460 *
    55  * Frees memory for internal qh_t structure.
     61 * Frees memory of the internal ed_t structure.
    5662 */
    5763static inline void endpoint_list_fini(endpoint_list_t *instance)
     
    6268
    6369int endpoint_list_init(endpoint_list_t *instance, const char *name);
    64 
    6570void endpoint_list_set_next(endpoint_list_t *instance, endpoint_list_t *next);
    66 
    6771void endpoint_list_add_ep(endpoint_list_t *instance, hcd_endpoint_t *hcd_ep);
    68 
    6972void 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
    7573#endif
    7674/**
Note: See TracChangeset for help on using the changeset viewer.