Changeset 75732da in mainline for uspace/lib/usbvirt
- Timestamp:
- 2010-12-13T07:20:20Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 309dea52
- Parents:
- 84439d7 (diff), 37f7cfe (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. - Location:
- uspace/lib/usbvirt/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbvirt/src/callback.c
r84439d7 r75732da 153 153 * If the request was processed, we will send data back. 154 154 */ 155 if ( rc == EOK) {155 if ((rc == EOK) && (expected_len > 0)) { 156 156 size_t receive_len; 157 157 ipc_callid_t callid; -
uspace/lib/usbvirt/src/main.c
r84439d7 r75732da 183 183 /** Create necessary phones for communication with virtual HCD. 184 184 * This function wraps following calls: 185 * -# open <code>/dev/devices/\\v hc</code>for reading185 * -# open <code>/dev/devices/\\virt\\usbhc for reading 186 186 * -# access phone of file opened in previous step 187 187 * -# create callback through just opened phone … … 203 203 } 204 204 205 const char *vhc_path = "/v hc";205 const char *vhc_path = "/virt/usbhc"; 206 206 int rc; 207 207 devman_handle_t handle; -
uspace/lib/usbvirt/src/transaction.c
r84439d7 r75732da 183 183 actual_size = size; 184 184 } 185 device->lib_debug(device, 1, USBVIRT_DEBUGTAG_TRANSACTION, 186 "in transaction: will copy %zu bytes", actual_size); 185 187 if (actual_size > 0) { 186 188 memcpy(buffer, transfer->data, actual_size);
Note:
See TracChangeset
for help on using the changeset viewer.