Changeset 6ab7f3e9 in mainline for uspace/drv/usbhub/usbhub_private.h
- Timestamp:
- 2011-05-29T21:53:34Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98e15b1
- Parents:
- 5c1a65e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub_private.h
r5c1a65e r6ab7f3e9 65 65 */ 66 66 static inline void usb_hub_set_descriptor_request( 67 usb_device_request_setup_packet_t * request68 ){67 usb_device_request_setup_packet_t * request 68 ) { 69 69 request->index = 0; 70 70 request->request_type = USB_HUB_REQ_TYPE_GET_DESCRIPTOR; … … 87 87 int port_index, 88 88 usb_hub_class_feature_t feature) { 89 89 90 90 usb_device_request_setup_packet_t clear_request = { 91 91 .request_type = USB_HUB_REQ_TYPE_CLEAR_PORT_FEATURE, … … 96 96 clear_request.value = feature; 97 97 return usb_pipe_control_write(pipe, &clear_request, 98 sizeof (clear_request), NULL, 0);98 sizeof (clear_request), NULL, 0); 99 99 } 100 100 … … 120 120 clear_request.value = feature; 121 121 return usb_pipe_control_write(pipe, &clear_request, 122 sizeof (clear_request), NULL, 0);122 sizeof (clear_request), NULL, 0); 123 123 } 124 125 124 126 125 /** … … 142 141 clear_request.value = feature; 143 142 return usb_pipe_control_write(pipe, &clear_request, 144 sizeof (clear_request), NULL, 0);143 sizeof (clear_request), NULL, 0); 145 144 } 146 145 … … 163 162 clear_request.value = feature; 164 163 return usb_pipe_control_write(pipe, &clear_request, 165 sizeof (clear_request), NULL, 0);164 sizeof (clear_request), NULL, 0); 166 165 } 167 166
Note:
See TracChangeset
for help on using the changeset viewer.