Changes in uspace/drv/uhci-hcd/iface.c [ec59693:83c439c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/iface.c
rec59693 r83c439c 103 103 /*----------------------------------------------------------------------------*/ 104 104 static int interrupt_out(device_t *dev, usb_target_t target, 105 size_t max_packet_size,106 void *data, size_t size,107 usbhc_iface_transfer_out_callback_t callback, void *arg) 108 { 105 void *data, size_t size, 106 usbhc_iface_transfer_out_callback_t callback, void *arg) 107 { 108 size_t max_packet_size = 8; 109 109 dev_speed_t speed = FULL_SPEED; 110 110 … … 118 118 /*----------------------------------------------------------------------------*/ 119 119 static int interrupt_in(device_t *dev, usb_target_t target, 120 size_t max_packet_size,121 void *data, size_t size,122 usbhc_iface_transfer_in_callback_t callback, void *arg) 123 { 120 void *data, size_t size, 121 usbhc_iface_transfer_in_callback_t callback, void *arg) 122 { 123 size_t max_packet_size = 4; 124 124 dev_speed_t speed = FULL_SPEED; 125 125 … … 133 133 /*----------------------------------------------------------------------------*/ 134 134 static int control_write(device_t *dev, usb_target_t target, 135 size_t max_packet_size,136 135 void *setup_data, size_t setup_size, void *data, size_t size, 137 136 usbhc_iface_transfer_out_callback_t callback, void *arg) 138 137 { 138 size_t max_packet_size = 8; 139 139 dev_speed_t speed = FULL_SPEED; 140 140 … … 149 149 /*----------------------------------------------------------------------------*/ 150 150 static int control_read(device_t *dev, usb_target_t target, 151 size_t max_packet_size,152 151 void *setup_data, size_t setup_size, void *data, size_t size, 153 152 usbhc_iface_transfer_in_callback_t callback, void *arg) 154 153 { 154 size_t max_packet_size = 8; 155 155 dev_speed_t speed = FULL_SPEED; 156 156 … … 165 165 /*----------------------------------------------------------------------------*/ 166 166 static int control_write_setup(device_t *dev, usb_target_t target, 167 size_t max_packet_size,168 void *data, size_t size,169 usbhc_iface_transfer_out_callback_t callback, void *arg) 170 { 167 void *data, size_t size, 168 usbhc_iface_transfer_out_callback_t callback, void *arg) 169 { 170 size_t max_packet_size = 8; 171 171 dev_speed_t speed = FULL_SPEED; 172 172 … … 181 181 /*----------------------------------------------------------------------------*/ 182 182 static int control_write_data(device_t *dev, usb_target_t target, 183 size_t max_packet_size,184 void *data, size_t size,185 usbhc_iface_transfer_out_callback_t callback, void *arg) 186 { 183 void *data, size_t size, 184 usbhc_iface_transfer_out_callback_t callback, void *arg) 185 { 186 size_t max_packet_size = 8; 187 187 dev_speed_t speed = FULL_SPEED; 188 188 … … 212 212 /*----------------------------------------------------------------------------*/ 213 213 static int control_read_setup(device_t *dev, usb_target_t target, 214 size_t max_packet_size,215 void *data, size_t size,216 usbhc_iface_transfer_out_callback_t callback, void *arg) 217 { 214 void *data, size_t size, 215 usbhc_iface_transfer_out_callback_t callback, void *arg) 216 { 217 size_t max_packet_size = 8; 218 218 dev_speed_t speed = FULL_SPEED; 219 219 … … 228 228 /*----------------------------------------------------------------------------*/ 229 229 static int control_read_data(device_t *dev, usb_target_t target, 230 size_t max_packet_size,231 void *data, size_t size,232 usbhc_iface_transfer_in_callback_t callback, void *arg) 233 { 230 void *data, size_t size, 231 usbhc_iface_transfer_in_callback_t callback, void *arg) 232 { 233 size_t max_packet_size = 8; 234 234 dev_speed_t speed = FULL_SPEED; 235 235
Note:
See TracChangeset
for help on using the changeset viewer.