Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/iface.c

    rec59693 r83c439c  
    103103/*----------------------------------------------------------------------------*/
    104104static 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;
    109109        dev_speed_t speed = FULL_SPEED;
    110110
     
    118118/*----------------------------------------------------------------------------*/
    119119static 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;
    124124        dev_speed_t speed = FULL_SPEED;
    125125
     
    133133/*----------------------------------------------------------------------------*/
    134134static int control_write(device_t *dev, usb_target_t target,
    135     size_t max_packet_size,
    136135    void *setup_data, size_t setup_size, void *data, size_t size,
    137136    usbhc_iface_transfer_out_callback_t callback, void *arg)
    138137{
     138        size_t max_packet_size = 8;
    139139        dev_speed_t speed = FULL_SPEED;
    140140
     
    149149/*----------------------------------------------------------------------------*/
    150150static int control_read(device_t *dev, usb_target_t target,
    151     size_t max_packet_size,
    152151    void *setup_data, size_t setup_size, void *data, size_t size,
    153152    usbhc_iface_transfer_in_callback_t callback, void *arg)
    154153{
     154        size_t max_packet_size = 8;
    155155        dev_speed_t speed = FULL_SPEED;
    156156
     
    165165/*----------------------------------------------------------------------------*/
    166166static 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;
    171171        dev_speed_t speed = FULL_SPEED;
    172172
     
    181181/*----------------------------------------------------------------------------*/
    182182static 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;
    187187        dev_speed_t speed = FULL_SPEED;
    188188
     
    212212/*----------------------------------------------------------------------------*/
    213213static 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;
    218218        dev_speed_t speed = FULL_SPEED;
    219219
     
    228228/*----------------------------------------------------------------------------*/
    229229static 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;
    234234        dev_speed_t speed = FULL_SPEED;
    235235
Note: See TracChangeset for help on using the changeset viewer.