Changeset 98169ab in mainline


Ignore:
Timestamp:
2011-04-01T14:25:51Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b9c0e2
Parents:
27bdfa5 (diff), 9b640c42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Root hub match id fix

Location:
uspace/drv/ohci
Files:
2 edited

Legend:

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

    r27bdfa5 r98169ab  
    5858
    5959        char *match_str = NULL;
    60         int ret = asprintf(&match_str, "usb&mid");
     60        int ret = asprintf(&match_str, "usb&class=hub");
    6161        ret = (match_str == NULL) ? ret : EOK;
    6262        if (ret < 0) {
  • uspace/drv/ohci/ohci.c

    r27bdfa5 r98169ab  
    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.