Changeset b371844 in mainline for uspace/srv/hw/bus/usb/hcd/virtual/devices.h
- Timestamp:
- 2010-10-10T11:53:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b8100da
- Parents:
- bc9a629
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/devices.h
rbc9a629 rb371844 31 31 */ 32 32 /** @file 33 * @brief 33 * @brief Virtual device management. 34 34 */ 35 35 #ifndef VHCD_DEVICES_H_ … … 39 39 #include <usb/hcd.h> 40 40 41 /** Connected virtual device. */ 41 42 typedef struct { 42 43 /** Assigned USB address. */ … … 44 45 /** Phone used when sending data to device. */ 45 46 int phone; 47 /** Device id. */ 48 int id; 46 49 /** Linked-list handle. */ 47 50 link_t link; 48 51 } virtdev_connection_t; 49 52 53 virtdev_connection_t *virtdev_recognise(int, int); 50 54 virtdev_connection_t *virtdev_find_by_address(usb_address_t); 51 55 virtdev_connection_t *virtdev_add_device(usb_address_t, int);
Note:
See TracChangeset
for help on using the changeset viewer.