Changeset 76c40eb in mainline


Ignore:
Timestamp:
2011-01-14T15:04:05Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1062c8d
Parents:
2e38385
Message:

dummy callback return size instead of 0

add dump of the first two bytes for setup transfers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/uhci.c

    r2e38385 r76c40eb  
    5757            size);
    5858
    59         callback( dev, 0, USB_OUTCOME_OK, arg );
     59        callback( dev, size, USB_OUTCOME_OK, arg );
    6060
    6161        return EOK;
     
    9191            usb_str_transfer_type(transfer_type),
    9292            size);
     93        uhci_print_info("Setup packet content: %x %x.\n", ((uint8_t*)buffer)[0],
     94          ((uint8_t*)buffer)[1]);
    9395
    9496        callback( dev, USB_OUTCOME_OK, arg );
Note: See TracChangeset for help on using the changeset viewer.