Changeset 0f3e68c in mainline for uspace/drv/uhci-hcd/batch.c


Ignore:
Timestamp:
2011-03-12T22:36:33Z (15 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
335382d
Parents:
dd6f59f (diff), 67352d2 (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:

Minor fixes and refactoring

File:
1 edited

Legend:

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

    rdd6f59f r0f3e68c  
    177177                        usb_log_debug("Batch(%p) found error TD(%d):%x.\n",
    178178                            instance, i, instance->tds[i].status);
     179                        td_print_status(&instance->tds[i]);
    179180
    180181                        device_keeper_set_toggle(instance->manager,
     
    318319                ++packet;
    319320        }
    320         instance->tds[packet - 1].status |= TD_STATUS_COMPLETE_INTERRUPT_FLAG;
     321        instance->tds[packet - 1].status |= TD_STATUS_IOC_FLAG;
    321322        device_keeper_set_toggle(instance->manager, instance->target, toggle);
    322323}
     
    371372
    372373
    373         instance->tds[packet].status |= TD_STATUS_COMPLETE_INTERRUPT_FLAG;
     374        instance->tds[packet].status |= TD_STATUS_IOC_FLAG;
    374375        usb_log_debug2("Control last TD status: %x.\n",
    375376            instance->tds[packet].status);
Note: See TracChangeset for help on using the changeset viewer.