Changeset a6add7a in mainline for uspace/lib/usb/src/hub.c


Ignore:
Timestamp:
2011-03-04T23:35:22Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
960bee9
Parents:
d78a32f
Message:

Comment and documentation fixes

In the process also removed several functions that are no longer
needed.

This commit shall not affect functionality in any way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hub.c

    rd78a32f ra6add7a  
    144144/** Wrapper for registering attached device to the hub.
    145145 *
    146  * The @p enable_port function is expected to enable singalling on given
     146 * The @p enable_port function is expected to enable signaling on given
    147147 * port.
    148148 * The two arguments to it can have arbitrary meaning
     
    152152 *
    153153 * If the @p enable_port fails (i.e. does not return EOK), the device
    154  * addition is cancelled.
     154 * addition is canceled.
    155155 * The return value is then returned (it is good idea to use different
    156156 * error codes than those listed as return codes by this function itself).
     
    159159 * @param connection Opened connection to host controller.
    160160 * @param dev_speed New device speed.
    161  * @param enable_port Function for enabling signalling through the port the
     161 * @param enable_port Function for enabling signaling through the port the
    162162 *      device is attached to.
    163163 * @param port_no Port number (passed through to @p enable_port).
     
    201201
    202202        /*
    203          * Enable the port (i.e. allow signalling through this port).
     203         * Enable the port (i.e. allow signaling through this port).
    204204         */
    205205        rc = enable_port(port_no, arg);
Note: See TracChangeset for help on using the changeset viewer.