Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b8191cc in mainline


Ignore:
Timestamp:
2014-01-24T21:49:30Z (8 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
ee6e50c
Parents:
fa9656b0
Message:

ehci: S MASK should be set only for INT transfers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/hw_struct/queue_head.c

    rfa9656b0 rb8191cc  
    8787            QH_EP_CAP_TT_PORT_SET(ep->tt.port) |
    8888            QH_EP_CAP_TT_ADDR_SET(ep->tt.address) |
    89             QH_EP_CAP_C_MASK_SET(3 << 2) |
    90             QH_EP_CAP_S_MASK_SET(3)
     89            QH_EP_CAP_C_MASK_SET(3 << 2)
    9190        );
     91
     92        if (ep->transfer_type == USB_TRANSFER_INTERRUPT) {
     93                EHCI_MEM32_SET(instance->ep_cap, QH_EP_CAP_S_MASK_SET(3));
     94        }
    9295        /* The rest of the fields are transfer working area, it should be ok to
    9396         * leave it NULL */
Note: See TracChangeset for help on using the changeset viewer.