Changeset e7bc999 in mainline for uspace/drv/ohci/ohci_hc.c
- Timestamp:
- 2011-03-20T21:36:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1fb1339, 33577f81, fd9f6e4c
- Parents:
- 42dbb26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/ohci_hc.c
r42dbb26 re7bc999 45 45 46 46 int ohci_hc_init(ohci_hc_t *instance, ddf_fun_t *fun, 47 uintptr_t regs, size_t reg_size )47 uintptr_t regs, size_t reg_size, bool interrupts) 48 48 { 49 49 assert(instance); … … 53 53 return ret; 54 54 } 55 instance->registers->interrupt_disable = 0; 56 /* enable interrupt on root hub status change */ 57 instance->registers->interupt_enable |= IE_RHSC | IE_MIE; 58 55 59 56 60 ohci_rh_init(&instance->rh, instance->registers); … … 75 79 { 76 80 assert(instance); 81 /* TODO: Check for interrupt cause */ 77 82 ohci_rh_interrupt(&instance->rh); 78 83 /* TODO: implement */
Note:
See TracChangeset
for help on using the changeset viewer.