Changeset 5d07f54 in mainline for uspace/drv/ohci/ohci.c
- Timestamp:
- 2011-05-07T11:42:34Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ab7c7f6
- Parents:
- bba0dc20
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/ohci.c
rbba0dc20 r5d07f54 54 54 { 55 55 assert(dev); 56 assert(dev->driver_data); 56 57 hc_t *hc = &((ohci_t*)dev->driver_data)->hc; 57 58 uint16_t status = IPC_GET_ARG1(*call); … … 208 209 "Failed(%d) to create root hub function.\n", ret); 209 210 210 hc_register_hub(&instance->hc, instance->rh_fun);211 211 212 212 instance->rh_fun->ops = &rh_ops; 213 213 instance->rh_fun->driver_data = NULL; 214 ret = ddf_fun_bind(instance->rh_fun); 215 CHECK_RET_FINI_RETURN(ret, 216 "Failed(%d) to register OHCI root hub.\n", ret); 214 215 device->driver_data = instance; 217 216 218 217 hc_start_hw(&instance->hc);
Note:
See TracChangeset
for help on using the changeset viewer.