Changeset 78d4e1f in mainline for uspace/drv/ohci/batch.c


Ignore:
Timestamp:
2011-04-10T21:03:36Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eaf1e3d
Parents:
0ede0c3
Message:

Init ED queue registers AFTER device reset

Disable and enabled control queue when adding an ED
More debug output
OHCI lives and responds with STALL.

File:
1 edited

Legend:

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

    r0ede0c3 r78d4e1f  
    134134        assert(data);
    135135        size_t tds = data->td_count - 1;
    136         usb_log_debug2("Batch(%p) checking %d td(s) for completion.\n",
     136        usb_log_debug("Batch(%p) checking %d td(s) for completion.\n",
    137137            instance, tds);
     138        usb_log_debug("ED: %x:%x:%x:%x.\n",
     139            data->ed->status, data->ed->td_head, data->ed->td_tail,
     140            data->ed->next);
    138141        size_t i = 0;
    139142        for (; i < tds; ++i) {
     143                usb_log_debug("TD %d: %x:%x:%x:%x.\n", i,
     144                    data->tds[i].status, data->tds[i].cbp, data->tds[i].next,
     145                    data->tds[i].be);
    140146                if (!td_is_finished(&data->tds[i]))
    141147                        return false;
Note: See TracChangeset for help on using the changeset viewer.