Changeset 03cfda08 in mainline
- Timestamp:
- 2011-05-06T12:47:04Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a58dd620
- Parents:
- 180255f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hc.c
r180255f r03cfda08 428 428 instance->registers->interrupt_enable); 429 429 instance->registers->interrupt_enable = I_MI; 430 /* Disable interrupts */431 // instance->registers->interrupt_disable = I_SF | I_OC;432 // usb_log_debug2("Disabling interrupts: %x.\n",433 // instance->registers->interrupt_disable);434 // instance->registers->interrupt_disable = I_MI;435 430 436 431 /* Set periodic start to 90% */ … … 503 498 instance->interrupt_commands[0].cmd = CMD_MEM_READ_32; 504 499 instance->interrupt_commands[0].dstarg = 1; 505 instance->interrupt_commands[0].addr = (void*)506 addr_to_phys((void*)&instance->registers->interrupt_status);500 instance->interrupt_commands[0].addr = 501 (void*)&instance->registers->interrupt_status; 507 502 508 503 /* Test whether we are the interrupt cause */ … … 519 514 520 515 /* Write clean status register */ 521 instance->interrupt_commands[3].cmd = CMD_ PIO_WRITE_A_32;516 instance->interrupt_commands[3].cmd = CMD_MEM_WRITE_A_32; 522 517 instance->interrupt_commands[3].srcarg = 1; 523 instance->interrupt_commands[3].addr = (void*)524 addr_to_phys((void*)&instance->registers->interrupt_status);518 instance->interrupt_commands[3].addr = 519 (void*)&instance->registers->interrupt_status; 525 520 526 521 /* Accept interrupt */
Note:
See TracChangeset
for help on using the changeset viewer.