diff options
Diffstat (limited to 'picirq.c')
-rw-r--r-- | picirq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ picinit(void) outb(IO_PIC1, 0x11); // ICW2: Vector offset - outb(IO_PIC1+1, IRQ_OFFSET); + outb(IO_PIC1+1, T_IRQ0); // ICW3: (master PIC) bit mask of IR lines connected to slaves // (slave PIC) 3-bit # of slave's connection to master @@ -63,7 +63,7 @@ picinit(void) // Set up slave (8259A-2) outb(IO_PIC2, 0x11); // ICW1 - outb(IO_PIC2+1, IRQ_OFFSET + 8); // ICW2 + outb(IO_PIC2+1, T_IRQ0 + 8); // ICW2 outb(IO_PIC2+1, IRQ_SLAVE); // ICW3 // NB Automatic EOI mode doesn't tend to work on the slave. // Linux source code says it's "to be investigated". |