Disabled debug output for arch_int_enable_io_interrupt().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6979 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
03c1062163
commit
7ec81f4c11
@ -98,7 +98,8 @@ arch_int_enable_io_interrupt(int irq)
|
||||
if (irq < 0 || irq >= 0x10)
|
||||
return;
|
||||
|
||||
dprintf("arch_int_enable_io_interrupt: irq %d\n", irq);
|
||||
//dprintf("arch_int_enable_io_interrupt: irq %d\n", irq);
|
||||
|
||||
/* if this is a external interrupt via 8239, enable it here */
|
||||
if (irq < 8)
|
||||
out8(in8(0x21) & ~(1 << irq), 0x21);
|
||||
@ -113,6 +114,7 @@ arch_int_disable_io_interrupt(int irq)
|
||||
/* never disable slave pic line IRQ 2 */
|
||||
if (irq < 0 || irq >= 0x10 || irq == 2)
|
||||
return;
|
||||
|
||||
/* if this is a external interrupt via 8239, disable it here */
|
||||
if (irq < 8)
|
||||
out8(in8(0x21) | (1 << irq), 0x21);
|
||||
|
Loading…
x
Reference in New Issue
Block a user