Changeset 2c49b81b in mainline
- Timestamp:
- 2011-05-07T10:34:48Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8594505
- Parents:
- 28216a0
- Location:
- uspace
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/main.c
r28216a0 r2c49b81b 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
r28216a0 r2c49b81b 188 188 "Failed(%d) to bind OHCI device function: %s.\n", 189 189 ret, str_error(ret)); 190 ret = ddf_fun_add_to_class(instance->hc_fun, USB_HC_DDF_CLASS_NAME); 191 CHECK_RET_DEST_FUN_RETURN(ret, 192 "Failed to add OHCI to HC class: %s.\n", str_error(ret)); 193 190 194 #undef CHECK_RET_HC_RETURN 191 195 -
uspace/drv/uhci-hcd/uhci.c
r28216a0 r2c49b81b 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
r28216a0 r2c49b81b 104 104 } 105 105 106 rc = ddf_fun_add_to_class(hc, "usbhc");106 rc = ddf_fun_add_to_class(hc, USB_HC_DDF_CLASS_NAME); 107 107 if (rc != EOK) { 108 108 usb_log_fatal("Failed to add function to HC class: %s.\n", -
uspace/lib/usb/include/usb/usb.h
r28216a0 r2c49b81b 172 172 } usb_packet_id; 173 173 174 /** Class name for USB host controllers. */ 175 #define USB_HC_DDF_CLASS_NAME "usbhc" 176 174 177 #endif 175 178 /**
Note:
See TracChangeset
for help on using the changeset viewer.