Changeset 6991188 in mainline for uspace/drv/ohci/batch.c


Ignore:
Timestamp:
2011-04-11T13:40:00Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d91645ab
Parents:
1a46610 (diff), 9f104af4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

OHCI prototype works (INT transfers too)

Tested on vbox 4.0.4, MS mouse and Logitech keyboard work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/batch.c

    r1a46610 r6991188  
    145145                    data->tds[i].status, data->tds[i].cbp, data->tds[i].next,
    146146                    data->tds[i].be);
    147                 if (!td_is_finished(&data->tds[i]))
     147                if (!td_is_finished(&data->tds[i])) {
    148148                        return false;
     149                }
    149150                instance->error = td_error(&data->tds[i]);
    150151                /* FIXME: calculate real transfered size */
     
    287288
    288289        /* data stage */
    289         size_t td_current = 1;
     290        size_t td_current = 0;
    290291        size_t remain_size = instance->buffer_size;
    291292        char *transfer_buffer = instance->transport_buffer;
Note: See TracChangeset for help on using the changeset viewer.