diff options
| author | rsc <rsc> | 2006-09-07 15:29:54 +0000 |
|---|---|---|
| committer | rsc <rsc> | 2006-09-07 15:29:54 +0000 |
| commit | 19297caf0d141e23fa2f5da6e2fb0ffa181d7a82 (patch) | |
| tree | 573b4eef9c6f683b42f3ddb69679b9be7a8e0649 /8253pit.c | |
| parent | 6c8acf9e046aaf31f528e1890c923525552b0dd4 (diff) | |
| download | xv6-labs-2022-19297caf0d141e23fa2f5da6e2fb0ffa181d7a82.tar.xz xv6-labs-2022-19297caf0d141e23fa2f5da6e2fb0ffa181d7a82.zip | |
fix ide, pit interfaces
Diffstat (limited to '8253pit.c')
| -rw-r--r-- | 8253pit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,5 +42,5 @@ pit8253_timerinit(void) outb(TIMER_MODE, TIMER_SEL0 | TIMER_RATEGEN | TIMER_16BIT); outb(IO_TIMER1, TIMER_DIV(100) % 256); outb(IO_TIMER1, TIMER_DIV(100) / 256); - irq_setmask_8259A(irq_mask_8259A & ~(1<<IRQ_TIMER)); + irq_enable(IRQ_TIMER); } |
