Changeset 56b962d in mainline for uspace/lib/usbvirt/include
- Timestamp:
- 2010-11-26T11:26:35Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84439d7
- Parents:
- 0eddb76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/include/usbvirt/device.h
r0eddb76 r56b962d 47 47 uint8_t *data); 48 48 49 /** Callbacks for standard device requests.50 * When these functions are NULL or return EFORWARD, this51 * framework will try to satisfy the request by itself.52 */53 typedef struct {54 usbvirt_on_device_request_t on_get_status;55 usbvirt_on_device_request_t on_clear_feature;56 usbvirt_on_device_request_t on_set_feature;57 usbvirt_on_device_request_t on_set_address;58 usbvirt_on_device_request_t on_get_descriptor;59 usbvirt_on_device_request_t on_set_descriptor;60 usbvirt_on_device_request_t on_get_configuration;61 usbvirt_on_device_request_t on_set_configuration;62 usbvirt_on_device_request_t on_get_interface;63 usbvirt_on_device_request_t on_set_interface;64 usbvirt_on_device_request_t on_synch_frame;65 } usbvirt_standard_device_request_ops_t;66 67 49 /** Device operations. */ 68 50 typedef struct { 69 /** Callbacks for standard deivce requests. */ 70 usbvirt_standard_device_request_ops_t *standard_request_ops; 51 /** Callbacks for standard device requests. 52 * The callbacks are indexed by usb_stddevreq_t enum. 53 */ 54 usbvirt_on_device_request_t on_standard_request[USB_DEVREQ_LAST_STD]; 71 55 /** Callback for class-specific USB request. */ 72 56 usbvirt_on_device_request_t on_class_device_request;
Note:
See TracChangeset
for help on using the changeset viewer.