Changeset 925a21e in mainline for uspace/drv/bus/usb/uhci/root_hub.c
- Timestamp:
- 2011-09-24T14:20:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bf76c1
- Parents:
- 867e2555 (diff), 1ab4aca (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/root_hub.c
r867e2555 r925a21e 50 50 int rh_init(rh_t *instance, ddf_fun_t *fun, uintptr_t reg_addr, size_t reg_size) 51 51 { 52 int ret; 53 52 assert(instance); 54 53 assert(fun); 55 56 ret = ddf_fun_add_match_id(fun, "usb&uhci&root-hub", 100);57 if (ret != EOK) {58 usb_log_error("Failed to add root hub match id: %s\n",59 str_error(ret));60 return ret;61 }62 54 63 55 /* Initialize resource structure */ … … 70 62 instance->io_regs.res.io_range.endianness = LITTLE_ENDIAN; 71 63 72 return EOK; 64 const int ret = ddf_fun_add_match_id(fun, "usb&uhci&root-hub", 100); 65 if (ret != EOK) { 66 usb_log_error("Failed to add root hub match id: %s\n", 67 str_error(ret)); 68 } 69 return ret; 73 70 } 74 71 /**
Note:
See TracChangeset
for help on using the changeset viewer.