diff options
| author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-06-23 05:04:28 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:58 -0400 |
| commit | 110cb1d2e343443c4a4b5f7e081928aa4da90f93 (patch) | |
| tree | 3bfa03442e95ed7fc4fcc79c97e7bf8cbc8abf22 | |
| parent | a0de1f0a5038a957d50893db7a0d47e385fb2915 (diff) | |
[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>
| -rw-r--r-- | arch/i386/kernel/i8259.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/i8259.c b/arch/i386/kernel/i8259.c index 323ef8ab3244..b7636b96e104 100644 --- a/arch/i386/kernel/i8259.c +++ b/arch/i386/kernel/i8259.c | |||
| @@ -271,8 +271,8 @@ static int i8259A_shutdown(struct sys_device *dev) | |||
| 271 | * the kernel initialization code can get it | 271 | * the kernel initialization code can get it |
| 272 | * out of. | 272 | * out of. |
| 273 | */ | 273 | */ |
| 274 | outb(0xff, 0x21); /* mask all of 8259A-1 */ | 274 | outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ |
| 275 | outb(0xff, 0xA1); /* mask all of 8259A-1 */ | 275 | outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-1 */ |
| 276 | return 0; | 276 | return 0; |
| 277 | } | 277 | } |
| 278 | 278 | ||
