Changes in uspace/drv/uhci-hcd/batch.h [83c439c:1a93bb0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/batch.h
r83c439c r1a93bb0 43 43 #include "uhci_struct/queue_head.h" 44 44 45 typedef enum {46 LOW_SPEED,47 FULL_SPEED,48 } dev_speed_t;49 50 45 typedef struct batch 51 46 { 52 47 link_t link; 53 dev_speed_t speed;48 usb_speed_t speed; 54 49 usb_target_t target; 55 50 usb_transfer_type_t transfer_type; … … 68 63 size_t transfered_size; 69 64 int error; 70 d evice_t *dev;65 ddf_fun_t *fun; 71 66 queue_head_t *qh; 72 67 transfer_descriptor_t *tds; … … 74 69 } batch_t; 75 70 76 batch_t * batch_get(d evice_t *dev, usb_target_t target,71 batch_t * batch_get(ddf_fun_t *fun, usb_target_t target, 77 72 usb_transfer_type_t transfer_type, size_t max_packet_size, 78 dev_speed_t speed, char *buffer, size_t size,73 usb_speed_t speed, char *buffer, size_t size, 79 74 char *setup_buffer, size_t setup_size, 80 75 usbhc_iface_transfer_in_callback_t func_in,
Note:
See TracChangeset
for help on using the changeset viewer.