Changeset 3b5d1535 in mainline for uspace/lib/drv/generic/remote_usb.c
- Timestamp:
- 2011-02-23T10:28:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb48f61
- Parents:
- e936e8e (diff), eb1a2f4 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usb.c
re936e8e r3b5d1535 37 37 38 38 #include "usb_iface.h" 39 #include "d river.h"39 #include "ddf/driver.h" 40 40 41 41 42 static void remote_usb_get_address(d evice_t *, void *, ipc_callid_t, ipc_call_t *);43 static void remote_usb_get_interface(d evice_t *, void *, ipc_callid_t, ipc_call_t *);44 static void remote_usb_get_hc_handle(d evice_t *, void *, ipc_callid_t, ipc_call_t *);42 static void remote_usb_get_address(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *); 43 static void remote_usb_get_interface(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *); 44 static void remote_usb_get_hc_handle(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *); 45 45 //static void remote_usb(device_t *, void *, ipc_callid_t, ipc_call_t *); 46 46 … … 61 61 62 62 63 void remote_usb_get_address(d evice_t *device, void *iface,63 void remote_usb_get_address(ddf_fun_t *fun, void *iface, 64 64 ipc_callid_t callid, ipc_call_t *call) 65 65 { … … 74 74 75 75 usb_address_t address; 76 int rc = usb_iface->get_address( device, handle, &address);76 int rc = usb_iface->get_address(fun, handle, &address); 77 77 if (rc != EOK) { 78 78 async_answer_0(callid, rc); … … 82 82 } 83 83 84 void remote_usb_get_interface(d evice_t *device, void *iface,84 void remote_usb_get_interface(ddf_fun_t *fun, void *iface, 85 85 ipc_callid_t callid, ipc_call_t *call) 86 86 { … … 95 95 96 96 int iface_no; 97 int rc = usb_iface->get_interface( device, handle, &iface_no);97 int rc = usb_iface->get_interface(fun, handle, &iface_no); 98 98 if (rc != EOK) { 99 99 async_answer_0(callid, rc); … … 103 103 } 104 104 105 void remote_usb_get_hc_handle(d evice_t *device, void *iface,105 void remote_usb_get_hc_handle(ddf_fun_t *fun, void *iface, 106 106 ipc_callid_t callid, ipc_call_t *call) 107 107 { … … 114 114 115 115 devman_handle_t handle; 116 int rc = usb_iface->get_hc_handle( device, &handle);116 int rc = usb_iface->get_hc_handle(fun, &handle); 117 117 if (rc != EOK) { 118 118 async_answer_0(callid, rc);
Note:
See TracChangeset
for help on using the changeset viewer.