Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhub/port.c

    r6e3c005 r76fbd9a  
    7171        return EOK;
    7272}
    73 /*----------------------------------------------------------------------------*/
     73
    7474/**
    7575 * Clear feature on hub port.
     
    9393            sizeof(clear_request), NULL, 0);
    9494}
    95 /*----------------------------------------------------------------------------*/
     95
    9696/**
    9797 * Set feature on hub port.
     
    115115            sizeof(clear_request), NULL, 0);
    116116}
    117 /*----------------------------------------------------------------------------*/
     117
    118118/**
    119119 * Mark reset process as failed due to external reasons
     
    130130        fibril_mutex_unlock(&port->mutex);
    131131}
    132 /*----------------------------------------------------------------------------*/
     132
    133133/**
    134134 * Process interrupts on given port
     
    246246            port->port_number, status);
    247247}
    248 /*----------------------------------------------------------------------------*/
     248
    249249/**
    250250 * routine called when a device on port has been removed
     
    300300        return EOK;
    301301}
    302 /*----------------------------------------------------------------------------*/
     302
    303303/**
    304304 * Process port reset change
     
    336336        }
    337337}
    338 /*----------------------------------------------------------------------------*/
     338
    339339/** Retrieve port status.
    340340 *
     
    353353                .request = USB_HUB_REQUEST_GET_STATUS,
    354354                .value = 0,
    355                 .index = port->port_number,
     355                .index = uint16_host2usb(port->port_number),
    356356                .length = sizeof(usb_port_status_t),
    357357        };
     
    376376        return EOK;
    377377}
    378 /*----------------------------------------------------------------------------*/
     378
    379379/** Callback for enabling a specific port.
    380380 *
     
    408408        return port->reset_okay ? EOK : ESTALL;
    409409}
    410 /*----------------------------------------------------------------------------*/
     410
    411411/** Fibril for adding a new device.
    412412 *
     
    455455        return rc;
    456456}
    457 /*----------------------------------------------------------------------------*/
     457
    458458/** Start device adding when connection change is detected.
    459459 *
Note: See TracChangeset for help on using the changeset viewer.