Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99463
b: refs/heads/master
c: 4d9a6e6
h: refs/heads/master
i:
  99461: 109d9df
  99459: e131264
  99455: 5ab95b0
v: v3
  • Loading branch information
Pavel Machek authored and Thomas Gleixner committed May 24, 2008
1 parent 314c964 commit 2d8a610
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4f6f3bac18c80ff6cf072d90796755c69cc4c748
refs/heads/master: 4d9a6e6128dd8ada0d2feed2a9bb6506043e4655
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ static inline int i8259A_irq_real(unsigned int irq)
int irqmask = 1<<irq;

if (irq < 8) {
outb(0x0B,PIC_MASTER_CMD); /* ISR register */
outb(0x0B, PIC_MASTER_CMD); /* ISR register */
value = inb(PIC_MASTER_CMD) & irqmask;
outb(0x0A,PIC_MASTER_CMD); /* back to the IRR register */
outb(0x0A, PIC_MASTER_CMD); /* back to the IRR register */
return value;
}
outb(0x0B,PIC_SLAVE_CMD); /* ISR register */
outb(0x0B, PIC_SLAVE_CMD); /* ISR register */
value = inb(PIC_SLAVE_CMD) & (irqmask >> 8);
outb(0x0A,PIC_SLAVE_CMD); /* back to the IRR register */
outb(0x0A, PIC_SLAVE_CMD); /* back to the IRR register */
return value;
}

Expand Down

0 comments on commit 2d8a610

Please sign in to comment.