Changeset 9b640c42 in mainline
- Timestamp:
- 2011-04-01T14:23:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98169ab, da9ebca
- Parents:
- e353e85
- Location:
- uspace/drv/ohci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hc.c
re353e85 r9b640c42 58 58 59 59 char *match_str = NULL; 60 int ret = asprintf(&match_str, "usb& mid");60 int ret = asprintf(&match_str, "usb&class=hub"); 61 61 ret = (match_str == NULL) ? ret : EOK; 62 62 if (ret < 0) { -
uspace/drv/ohci/ohci.c
re353e85 r9b640c42 31 31 */ 32 32 /** @file 33 * @brief UHCI driver33 * @brief OHCI driver 34 34 */ 35 35 #include <errno.h> … … 117 117 /** Initialize hc and rh ddf structures and their respective drivers. 118 118 * 119 * @param[in] instance UHCI structure to use.119 * @param[in] instance OHCI structure to use. 120 120 * @param[in] device DDF instance of the device to use. 121 121 * 122 122 * This function does all the preparatory work for hc and rh drivers: 123 123 * - gets device hw resources 124 * - disables UHCI legacy support124 * - disables OHCI legacy support 125 125 * - asks for interrupt 126 126 * - registers interrupt handler … … 185 185 ret = ddf_fun_bind(instance->hc_fun); 186 186 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", 188 188 ret, str_error(ret)); 189 189 #undef CHECK_RET_HC_RETURN … … 216 216 ret = ddf_fun_bind(instance->rh_fun); 217 217 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); 219 219 220 220 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.