Hello all,
use proper defines instead of "dirty" code using open-coded values...
i386 run-tested on 2.6.17-rc4-mm3.
Signed-off-by: Andreas Mohr <[email protected]>
diff -urN linux-2.6.17-rc4-mm3.orig/arch/i386/kernel/i8259.c linux-2.6.17-rc4-mm3.my/arch/i386/kernel/i8259.c
--- linux-2.6.17-rc4-mm3.orig/arch/i386/kernel/i8259.c 2006-05-23 19:14:13.000000000 +0200
+++ linux-2.6.17-rc4-mm3/arch/i386/kernel/i8259.c 2006-05-22 15:47:03.000000000 +0200
@@ -271,8 +271,8 @@
* the kernel initialization code can get it
* out of.
*/
- outb(0xff, 0x21); /* mask all of 8259A-1 */
- outb(0xff, 0xA1); /* mask all of 8259A-1 */
+ outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */
+ outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-1 */
return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]