Changeset b8a3cda in mainline for uspace/srv/hw/bus/usb/hcd/virtual/devices.c
- Timestamp:
- 2010-10-22T14:57:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a7bfeb3
- Parents:
- 954ea70
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/devices.c
r954ea70 rb8a3cda 48 48 #include "devices.h" 49 49 #include "hub.h" 50 #include "vhcd.h" 50 51 51 52 #define list_foreach(pos, head) \ … … 124 125 ipcarg_t answer_rc; 125 126 aid_t req; 126 int rc ;127 int rc = EOK; 127 128 128 req = async_send_ 3(dev->phone,129 req = async_send_4(dev->phone, 129 130 IPC_M_USBVIRT_DATA_TO_DEVICE, 130 131 transaction->target.address, 131 132 transaction->target.endpoint, 132 133 transaction->type, 134 transaction->len, 133 135 &answer_data); 134 136 135 rc = async_data_write_start(dev->phone, 136 transaction->buffer, transaction->len); 137 if (transaction->len > 0) { 138 rc = async_data_write_start(dev->phone, 139 transaction->buffer, transaction->len); 140 } 137 141 if (rc != EOK) { 138 142 async_wait_for(req, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.