Changeset eac610e in mainline for uspace/drv/vhc/connhost.c


Ignore:
Timestamp:
2010-12-08T23:40:38Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07b9203e
Parents:
90fb679
Message:

Fix of several stupid bugs

There were actually four (kind of) bugs fixed in this commit:

  • switched arguments in a function call (really stupid)
  • async_data_read_receive and async_data_read_finalize not paired together
  • reading wrong arguments of a call (the DDF uses IPC_GET_ARG1 for the actual method (as the IPC_GET_METHOD returns interface index) and first argument is in IPC_GET_ARG2)
  • wrong SETUP packet for GET_DESCRIPTOR request


Also, added DEV_IPC_GET_ARG[1-4] for retrieveing arguments in DDF
interfaces in less confusing way (hope so).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/connhost.c

    r90fb679 reac610e  
    5858                case USB_DIRECTION_IN:
    5959                        transfer->in_callback(transfer->dev,
    60                             size, outcome,
     60                            outcome, size,
    6161                            transfer->arg);
    6262                        break;
Note: See TracChangeset for help on using the changeset viewer.