Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/root_hub.c

    rf123909 r275bf456  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
    28 /** @addtogroup drvusbuhcirh
     28/** @addtogroup usb
    2929 * @{
    3030 */
    3131/** @file
    32  * @brief UHCI root hub driver
     32 * @brief UHCI driver
    3333 */
    3434#include <errno.h>
     35#include <stdint.h>
    3536#include <ddi.h>
     37#include <devman.h>
    3638#include <usb/debug.h>
    3739
    3840#include "root_hub.h"
    3941
    40 /** Initialize UHCI root hub instance.
     42/** Initializes UHCI root hub instance.
    4143 *
    4244 * @param[in] instance Driver memory structure to use.
    4345 * @param[in] addr Address of I/O registers.
    4446 * @param[in] size Size of available I/O space.
    45  * @param[in] rh Pointer to ddf instance of the root hub driver.
     47 * @param[in] rh Pointer to ddf instance fo the root hub driver.
    4648 * @return Error code.
    4749 */
     
    5961        if (ret < 0) {
    6062                usb_log_error(
    61                     "Failed(%d) to gain access to port registers at %p\n",
    62                     ret, regs);
     63                    "Failed to gain access to port registers at %p\n", regs);
    6364                return ret;
    6465        }
    6566
    66         /* Initialize root hub ports */
     67        /* add fibrils for periodic port checks */
    6768        unsigned i = 0;
    6869        for (; i < UHCI_ROOT_HUB_PORT_COUNT; ++i) {
     
    8182}
    8283/*----------------------------------------------------------------------------*/
    83 /** Cleanup UHCI root hub instance.
     84/** Finishes UHCI root hub instance.
    8485 *
    85  * @param[in] instance Root hub structure to use.
     86 * @param[in] instance Driver memory structure to use.
    8687 * @return Error code.
    8788 */
Note: See TracChangeset for help on using the changeset viewer.