Changeset 0ab362c in mainline for uspace/lib/usbdev/include/usb/dev/request.h
- Timestamp:
- 2012-11-22T14:36:04Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e32720ff
- Parents:
- 1f7753a (diff), 0f2c80a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/request.h
r1f7753a r0ab362c 93 93 uint8_t request; 94 94 /** Main parameter to the request. */ 95 union {95 union __attribute__ ((packed)) { 96 96 uint16_t value; 97 97 /* FIXME: add #ifdefs according to host endianness */ 98 struct {98 struct __attribute__ ((packed)) { 99 99 uint8_t value_low; 100 100 uint8_t value_high; … … 108 108 uint16_t length; 109 109 } __attribute__ ((packed)) usb_device_request_setup_packet_t; 110 111 int assert[(sizeof(usb_device_request_setup_packet_t) == 8) ? 1: -1]; 110 112 111 113 int usb_control_request_set(usb_pipe_t *,
Note:
See TracChangeset
for help on using the changeset viewer.