[PATCH] x86: use proper defines for i8259A I/O
Use proper defines instead of open-coded values. Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
a0de1f0a50
commit
110cb1d2e3
1 changed files with 2 additions and 2 deletions
|
@ -271,8 +271,8 @@ static int i8259A_shutdown(struct sys_device *dev)
|
||||||
* the kernel initialization code can get it
|
* the kernel initialization code can get it
|
||||||
* out of.
|
* out of.
|
||||||
*/
|
*/
|
||||||
outb(0xff, 0x21); /* mask all of 8259A-1 */
|
outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */
|
||||||
outb(0xff, 0xA1); /* mask all of 8259A-1 */
|
outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-1 */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue