~vojtech-horky/helenos/numa

« back to all changes in this revision

Viewing changes to uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c

  • Committer: Vojtech Horky
  • Date: 2011-09-28 15:13:08 UTC
  • mfrom: (538.1.714 helenos-mainline)
  • Revision ID: vojtechhorky@users.sourceforge.net-20110928151308-2pz4s2w035n48o8a
Merge mainline changes

Conflicts fixed without problems (mostly caused by separating
ABI into /abi/).

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    { TD_STATUS_DP_IN, TD_STATUS_DP_OUT, TD_STATUS_DP_SETUP };
39
39
static unsigned togg[2] = { TD_STATUS_T_0, TD_STATUS_T_1 };
40
40
 
41
 
void td_init(
42
 
    td_t *instance, usb_direction_t dir, void *buffer, size_t size, int toggle)
 
41
void td_init(td_t *instance,
 
42
    usb_direction_t dir, const void *buffer, size_t size, int toggle)
43
43
{
44
44
        assert(instance);
45
45
        bzero(instance, sizeof(td_t));