Changeset daec5e04 in mainline for uspace/lib/drv
- Timestamp:
- 2011-02-14T22:13:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69b1f3d, c5d61ae6
- Parents:
- 55f690c
- Location:
- uspace/lib/drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhc.c
r55f690c rdaec5e04 240 240 241 241 static void callback_out(device_t *device, 242 usb_transaction_outcome_t outcome, void *arg)242 int outcome, void *arg) 243 243 { 244 244 async_transaction_t *trans = (async_transaction_t *)arg; … … 250 250 251 251 static void callback_in(device_t *device, 252 usb_transaction_outcome_t outcome, size_t actual_size, void *arg)252 int outcome, size_t actual_size, void *arg) 253 253 { 254 254 async_transaction_t *trans = (async_transaction_t *)arg; 255 255 256 if (outcome != USB_OUTCOME_OK) {256 if (outcome != EOK) { 257 257 async_answer_0(trans->caller, outcome); 258 258 if (trans->data_caller) { … … 270 270 } 271 271 272 async_answer_0(trans->caller, USB_OUTCOME_OK);272 async_answer_0(trans->caller, EOK); 273 273 274 274 async_transaction_destroy(trans); -
uspace/lib/drv/include/usbhc_iface.h
r55f690c rdaec5e04 207 207 /** Callback for outgoing transfer. */ 208 208 typedef void (*usbhc_iface_transfer_out_callback_t)(device_t *, 209 usb_transaction_outcome_t, void *);209 int, void *); 210 210 211 211 /** Callback for incoming transfer. */ 212 212 typedef void (*usbhc_iface_transfer_in_callback_t)(device_t *, 213 usb_transaction_outcome_t, size_t, void *);213 int, size_t, void *); 214 214 215 215
Note:
See TracChangeset
for help on using the changeset viewer.