Changeset 9b640c42 in mainline for uspace/drv/ohci/ohci.c


Ignore:
Timestamp:
2011-04-01T14:23:41Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
98169ab, da9ebca
Parents:
e353e85
Message:

Forgotten UHCI renames, root hub id is usb&class=hub not usb&mid

File:
1 edited

Legend:

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

    re353e85 r9b640c42  
    3131 */
    3232/** @file
    33  * @brief UHCI driver
     33 * @brief OHCI driver
    3434 */
    3535#include <errno.h>
     
    117117/** Initialize hc and rh ddf structures and their respective drivers.
    118118 *
    119  * @param[in] instance UHCI structure to use.
     119 * @param[in] instance OHCI structure to use.
    120120 * @param[in] device DDF instance of the device to use.
    121121 *
    122122 * This function does all the preparatory work for hc and rh drivers:
    123123 *  - gets device hw resources
    124  *  - disables UHCI legacy support
     124 *  - disables OHCI legacy support
    125125 *  - asks for interrupt
    126126 *  - registers interrupt handler
     
    185185        ret = ddf_fun_bind(instance->hc_fun);
    186186        CHECK_RET_DEST_FUN_RETURN(ret,
    187             "Failed(%d) to bind UHCI device function: %s.\n",
     187            "Failed(%d) to bind OHCI device function: %s.\n",
    188188            ret, str_error(ret));
    189189#undef CHECK_RET_HC_RETURN
     
    216216        ret = ddf_fun_bind(instance->rh_fun);
    217217        CHECK_RET_FINI_RETURN(ret,
    218             "Failed(%d) to register UHCI root hub.\n", ret);
     218            "Failed(%d) to register OHCI root hub.\n", ret);
    219219
    220220        return EOK;
Note: See TracChangeset for help on using the changeset viewer.