Changeset 5d07f54 in mainline for uspace/drv/ohci/hc.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/hc.c
rbba0dc20 r5d07f54 91 91 usb_log_error("Failed add root hub match-id.\n"); 92 92 } 93 ret = ddf_fun_bind(hub_fun); 93 94 return ret; 94 95 } … … 288 289 { 289 290 assert(instance); 290 usb_log_debug("OHCI interrupt: %x.\n", status);291 usb_log_debug("OHCI(%p) interrupt: %x.\n", instance, status); 291 292 if ((status & ~I_SF) == 0) /* ignore sof status */ 292 293 return; … … 354 355 } 355 356 usb_log_info("SMM driver: Ownership taken.\n"); 357 instance->registers->control &= (C_HCFS_RESET << C_HCFS_SHIFT); 358 async_usleep(50000); 356 359 return; 357 360 } … … 478 481 { 479 482 assert(instance); 483 484 bzero(&instance->rh, sizeof(instance->rh)); 480 485 /* Init queues */ 481 486 hc_init_transfer_lists(instance);
Note:
See TracChangeset
for help on using the changeset viewer.