Changeset 881c47b in mainline for uspace/drv/uhci-hcd/iface.c


Ignore:
Timestamp:
2011-02-04T14:45:42Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dcef3669
Parents:
97e87de
Message:

New UHCI packet scheduler

queues are named for nicer debug output
slow_speed is set by iface functions

File:
1 edited

Legend:

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

    r97e87de r881c47b  
    110110        assert(hc);
    111111        return uhci_transfer(hc, dev, target, USB_TRANSFER_INTERRUPT, 0, USB_PID_OUT,
    112                 data, size, callback, NULL, arg);
     112                false, data, size, callback, NULL, arg);
    113113}
    114114/*----------------------------------------------------------------------------*/
     
    121121        assert(hc);
    122122        return uhci_transfer(hc, dev, target, USB_TRANSFER_INTERRUPT, 0, USB_PID_IN,
    123                 data, size, NULL, callback, arg);
     123                false, data, size, NULL, callback, arg);
    124124}
    125125/*----------------------------------------------------------------------------*/
     
    132132        assert(hc);
    133133        return uhci_transfer(hc, dev, target, USB_TRANSFER_CONTROL, 0, USB_PID_SETUP,
    134                 data, size, callback, NULL, arg);
     134                false, data, size, callback, NULL, arg);
    135135}
    136136/*----------------------------------------------------------------------------*/
     
    143143        assert(hc);
    144144        return uhci_transfer(hc, dev, target, USB_TRANSFER_CONTROL, 1, USB_PID_OUT,
    145                 data, size, callback, NULL, arg);
     145                false, data, size, callback, NULL, arg);
    146146}
    147147/*----------------------------------------------------------------------------*/
     
    153153        assert(hc);
    154154        return uhci_transfer(hc, dev, target, USB_TRANSFER_CONTROL, 0, USB_PID_IN,
    155                 NULL, 0, NULL, callback, arg);
     155                false, NULL, 0, NULL, callback, arg);
    156156}
    157157/*----------------------------------------------------------------------------*/
     
    164164        assert(hc);
    165165        return uhci_transfer(hc, dev, target, USB_TRANSFER_CONTROL, 0, USB_PID_SETUP,
    166                 data, size, callback, NULL, arg);
     166                false, data, size, callback, NULL, arg);
    167167}
    168168/*----------------------------------------------------------------------------*/
     
    175175        assert(hc);
    176176        return uhci_transfer(hc, dev, target, USB_TRANSFER_CONTROL, 1, USB_PID_IN,
    177                 data, size, NULL, callback, arg);
     177                false, data, size, NULL, callback, arg);
    178178}
    179179/*----------------------------------------------------------------------------*/
     
    185185        assert(hc);
    186186        return uhci_transfer(hc, dev, target, USB_TRANSFER_CONTROL, 0, USB_PID_OUT,
    187                 NULL, 0, callback, NULL, arg);
     187                false, NULL, 0, callback, NULL, arg);
    188188}
    189189
Note: See TracChangeset for help on using the changeset viewer.