Ignore:
Timestamp:
2010-10-10T11:53:05Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b8100da
Parents:
bc9a629
Message:

Virtual HCD refactoring

Splitted into more files, added more comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/usb/hcd/virtual/devices.h

    rbc9a629 rb371844  
    3131 */
    3232/** @file
    33  * @brief
     33 * @brief Virtual device management.
    3434 */
    3535#ifndef VHCD_DEVICES_H_
     
    3939#include <usb/hcd.h>
    4040
     41/** Connected virtual device. */
    4142typedef struct {
    4243        /** Assigned USB address. */
     
    4445        /** Phone used when sending data to device. */
    4546        int phone;
     47        /** Device id. */
     48        int id;
    4649        /** Linked-list handle. */
    4750        link_t link;
    4851} virtdev_connection_t;
    4952
     53virtdev_connection_t *virtdev_recognise(int, int);
    5054virtdev_connection_t *virtdev_find_by_address(usb_address_t);
    5155virtdev_connection_t *virtdev_add_device(usb_address_t, int);
Note: See TracChangeset for help on using the changeset viewer.