Changeset 76fbd9a in mainline for uspace/drv/bus/usb/usbhub


Ignore:
Timestamp:
2012-02-24T19:07:44Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a76b01b4
Parents:
5837c7a
Message:

usb drivers: remove optical separators

Location:
uspace/drv/bus/usb/usbhub
Files:
2 edited

Legend:

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

    r5837c7a 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 *
     
    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 *
  • uspace/drv/bus/usb/usbhub/usbhub.c

    r5837c7a r76fbd9a  
    165165        return EOK;
    166166}
    167 /*----------------------------------------------------------------------------*/
     167
    168168/**
    169169 * Turn off power to all ports.
     
    176176        return ENOTSUP;
    177177}
    178 /*----------------------------------------------------------------------------*/
     178
    179179/**
    180180 * Remove all attached devices
     
    219219        return EOK;
    220220}
    221 /*----------------------------------------------------------------------------*/
     221
    222222/** Callback for polling hub for changes.
    223223 *
     
    256256        return true;
    257257}
    258 /*----------------------------------------------------------------------------*/
     258
    259259/**
    260260 * Load hub-specific information into hub_dev structure and process if needed
     
    331331        return EOK;
    332332}
    333 /*----------------------------------------------------------------------------*/
     333
    334334/**
    335335 * Set configuration of and USB device
     
    378378        return opResult;
    379379}
    380 /*----------------------------------------------------------------------------*/
     380
    381381/**
    382382 * Process hub over current change
     
    416416
    417417}
    418 /*----------------------------------------------------------------------------*/
     418
    419419/**
    420420 * Process hub interrupts.
     
    485485        }
    486486}
    487 /*----------------------------------------------------------------------------*/
     487
    488488/**
    489489 * callback called from hub polling fibril when the fibril terminates
Note: See TracChangeset for help on using the changeset viewer.