Changeset cc7575c in mainline for uspace/drv/bus/usb/ehci/ehci_batch.c


Ignore:
Timestamp:
2014-01-25T17:10:00Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
49dc984
Parents:
21f36e04
Message:

ehci: add IOC option to td initialization

File:
1 edited

Legend:

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

    r21f36e04 rcc7575c  
    284284        td_init(
    285285            ehci_batch->tds[0], ehci_batch->tds[1], USB_DIRECTION_BOTH,
    286             buffer, ehci_batch->usb_batch->setup_size, toggle);
     286            buffer, ehci_batch->usb_batch->setup_size, toggle, false);
    287287        usb_log_debug("Created CONTROL SETUP TD: %08x:%08x:%08x",
    288288            ehci_batch->tds[0]->status, ehci_batch->tds[0]->next,
     
    299299
    300300                td_init(ehci_batch->tds[td_current],
    301                     ehci_batch->tds[td_current + 1],
    302                     data_dir, buffer, transfer_size, toggle);
     301                    ehci_batch->tds[td_current + 1], data_dir, buffer,
     302                    transfer_size, toggle, false);
    303303                usb_log_debug("Created CONTROL DATA TD: %08x:%08x:%08x",
    304304                    ehci_batch->tds[td_current]->status,
     
    315315        assert(td_current == ehci_batch->td_count - 1);
    316316        td_init(ehci_batch->tds[td_current], ehci_batch->tds[td_current + 1],
    317             status_dir, NULL, 0, 1);
     317            status_dir, NULL, 0, 1, true);
    318318        usb_log_debug("Created CONTROL STATUS TD: %08x:%08x:%08x",
    319319            ehci_batch->tds[td_current]->status,
     
    357357                td_init(
    358358                    ehci_batch->tds[td_current], ehci_batch->tds[td_current + 1],
    359                     dir, buffer, transfer_size, -1);
     359                    dir, buffer, transfer_size, -1, remain_size == transfer_size);
    360360
    361361                usb_log_debug("Created DATA TD: %08x:%08x:%08x",
Note: See TracChangeset for help on using the changeset viewer.