Changeset 70e5ad5 in mainline for uspace/drv/vhc/hub/hub.h


Ignore:
Timestamp:
2010-12-16T11:12:31Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11658b64, 5863a95
Parents:
cea3fca
Message:

More doxygen comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/hub/hub.h

    rcea3fca r70e5ad5  
    3131 */
    3232/** @file
    33  * @brief
     33 * @brief Representation of an USB hub.
    3434 */
    3535#ifndef VHC_HUB_HUB_H_
     
    7272/** Hub port information. */
    7373typedef struct {
     74        /** Custom pointer to connected device. */
    7475        void *connected_device;
     76        /** Port index (one based). */
    7577        size_t index;
     78        /** Port state. */
    7679        hub_port_state_t state;
     80        /** Status change bitmap. */
    7781        uint16_t status_change;
    7882} hub_port_t;
     
    8084/** Hub device type. */
    8185typedef struct {
     86        /** Hub ports. */
    8287        hub_port_t ports[HUB_PORT_COUNT];
     88        /** Custom hub data. */
    8389        void *custom_data;
     90        /** Access guard to the whole hub. */
    8491        fibril_mutex_t guard;
    8592} hub_t;
Note: See TracChangeset for help on using the changeset viewer.