Changeset 4971812 in mainline for uspace/lib/usbvirt/device.h
- Timestamp:
- 2010-10-10T21:20:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e41957
- Parents:
- 6c1315b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/device.h
r6c1315b r4971812 37 37 38 38 #include <usb/hcd.h> 39 #include <usb/device.h> 39 40 #include <usb/devreq.h> 40 41 … … 43 44 typedef int (*usbvirt_on_devreq_t)(struct usbvirt_device *dev, 44 45 usb_direction_t, int recipient, 45 usb_stddevreq_t, int value, int index, int length); 46 uint8_t request, uint16_t value, uint16_t index, uint16_t length, 47 uint8_t *remaining_data); 46 48 47 49 typedef struct { … … 64 66 usb_endpoint_t endpoint, void *buffer, size_t size); 65 67 68 69 70 /* Device attributes. */ 71 72 /** Standard device descriptor. 73 * If this descriptor is set (i.e. not NULL), the framework 74 * automatically handles call for its retrieval. 75 */ 76 usb_standard_device_descriptor_t *standard_descriptor; 77 78 79 /* Private attributes. */ 80 66 81 /** Phone to HC. 67 82 * @warning Do not change, this is private variable.
Note:
See TracChangeset
for help on using the changeset viewer.