Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/iface.c

    r92d6868 rb9fa0a9  
    151151    size_t max_packet_size, unsigned int interval)
    152152{
    153         assert(fun);
    154         hc_t *hc = fun_to_hc(fun);
    155         assert(hc);
    156         if (address == hc->rh.address)
    157                 return EOK;
    158         const usb_speed_t speed =
    159                 usb_device_keeper_get_speed(&hc->manager, address);
    160         const size_t size = max_packet_size;
    161         usb_log_debug("Register endpoint %d:%d %s %s(%d) %zu(%zu) %u.\n",
    162             address, endpoint, usb_str_transfer_type(transfer_type),
    163             usb_str_speed(speed), direction, size, max_packet_size, interval);
    164         // TODO use real endpoint here!
    165         return usb_endpoint_manager_register_ep(&hc->ep_manager,NULL, 0);
     153        UNSUPPORTED("register_endpoint");
     154
     155        return ENOTSUP;
    166156}
    167157/*----------------------------------------------------------------------------*/
     
    178168    usb_endpoint_t endpoint, usb_direction_t direction)
    179169{
    180         assert(fun);
    181         hc_t *hc = fun_to_hc(fun);
    182         assert(hc);
    183         usb_log_debug("Unregister endpoint %d:%d %d.\n",
    184             address, endpoint, direction);
    185         return usb_endpoint_manager_unregister_ep(&hc->ep_manager, address,
    186             endpoint, direction);
     170        UNSUPPORTED("unregister_endpoint");
     171
     172        return ENOTSUP;
    187173}
    188174/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.