Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usb.c

    ra76b01b4 r56bdd9a4  
    5656{
    5757        if (!exch)
    58                 return EBADMEM;
     58                return EINVAL;
    5959        sysarg_t addr;
    6060        const int ret = async_req_1_1(exch, DEV_IFACE_ID(USB_DEV_IFACE),
     
    6565        return ret;
    6666}
    67 
     67/*----------------------------------------------------------------------------*/
    6868/** Tell interface number given device can use.
    6969 * @param[in] exch IPC communication exchange
     
    7575{
    7676        if (!exch)
    77                 return EBADMEM;
     77                return EINVAL;
    7878        sysarg_t iface_no;
    7979        const int ret = async_req_1_1(exch, DEV_IFACE_ID(USB_DEV_IFACE),
     
    8383        return ret;
    8484}
    85 
     85/*----------------------------------------------------------------------------*/
    8686/** Tell devman handle of device host controller.
    8787 * @param[in] exch IPC communication exchange
     
    9292{
    9393        if (!exch)
    94                 return EBADMEM;
     94                return EINVAL;
    9595        devman_handle_t h;
    9696        const int ret = async_req_1_1(exch, DEV_IFACE_ID(USB_DEV_IFACE),
     
    121121};
    122122
    123 
     123/*----------------------------------------------------------------------------*/
    124124void remote_usb_get_my_address(ddf_fun_t *fun, void *iface,
    125125    ipc_callid_t callid, ipc_call_t *call)
     
    140140        }
    141141}
    142 
     142/*----------------------------------------------------------------------------*/
    143143void remote_usb_get_my_interface(ddf_fun_t *fun, void *iface,
    144144    ipc_callid_t callid, ipc_call_t *call)
     
    159159        }
    160160}
    161 
     161/*----------------------------------------------------------------------------*/
    162162void remote_usb_get_hc_handle(ddf_fun_t *fun, void *iface,
    163163    ipc_callid_t callid, ipc_call_t *call)
Note: See TracChangeset for help on using the changeset viewer.