Changeset 02804e1 in mainline for uspace/drv
- Timestamp:
- 2011-05-07T13:56:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7205209
- Parents:
- 6fb003e (diff), df0bbe1 (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. - Location:
- uspace/drv
- Files:
-
- 4 edited
-
ehci-hcd/main.c (modified) (1 diff)
-
ohci/ohci.c (modified) (1 diff)
-
uhci-hcd/uhci.c (modified) (1 diff)
-
vhc/main.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/main.c
r6fb003e r02804e1 97 97 } 98 98 hc_fun->ops = &hc_ops; 99 99 100 ret = ddf_fun_bind(hc_fun); 100 101 101 CHECK_RET_RETURN(ret, 102 102 "Failed to bind EHCI function: %s.\n", 103 str_error(ret)); 104 ret = ddf_fun_add_to_class(hc_fun, USB_HC_DDF_CLASS_NAME); 105 CHECK_RET_RETURN(ret, 106 "Failed to add EHCI to HC class: %s.\n", 103 107 str_error(ret)); 104 108 -
uspace/drv/ohci/ohci.c
r6fb003e r02804e1 185 185 "Failed(%d) to bind OHCI device function: %s.\n", 186 186 ret, str_error(ret)); 187 ret = ddf_fun_add_to_class(instance->hc_fun, USB_HC_DDF_CLASS_NAME); 188 CHECK_RET_DEST_FUN_RETURN(ret, 189 "Failed to add OHCI to HC class: %s.\n", str_error(ret)); 190 187 191 #undef CHECK_RET_HC_RETURN 188 192 -
uspace/drv/uhci-hcd/uhci.c
r6fb003e r02804e1 210 210 "Failed(%d) to bind UHCI device function: %s.\n", 211 211 ret, str_error(ret)); 212 ret = ddf_fun_add_to_class(instance->hc_fun, USB_HC_DDF_CLASS_NAME); 213 CHECK_RET_DEST_FUN_RETURN(ret, 214 "Failed to add UHCI to HC class: %s.\n", str_error(ret)); 215 212 216 #undef CHECK_RET_HC_RETURN 213 217 -
uspace/drv/vhc/main.c
r6fb003e r02804e1 104 104 } 105 105 106 ddf_fun_add_to_class(hc, "usbhc"); 106 rc = ddf_fun_add_to_class(hc, USB_HC_DDF_CLASS_NAME); 107 if (rc != EOK) { 108 usb_log_fatal("Failed to add function to HC class: %s.\n", 109 str_error(rc)); 110 free(data); 111 return rc; 112 } 107 113 108 114 virtual_hub_device_init(hc);
Note:
See TracChangeset
for help on using the changeset viewer.
