]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: restrict keyboard io ports reservation to make ipmi driver work
authorHelge Wagner <Helge.Wagner@gefanuc.com>
Tue, 29 Apr 2008 12:20:40 +0000 (14:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 10 May 2008 17:31:45 +0000 (19:31 +0200)
commit9096bd7a66efbe406910365c5206a32eed3875af
treec6362db951f1f5426f7d0aabd8ae825f1a1dcc31
parentfd3c3ed5d1e3ceb37635cbe6d220ab94aae0781d
x86: restrict keyboard io ports reservation to make ipmi driver work

On some of our (single board computer) boards (x86) we are using an
IPMI controller that uses I/O ports 0x62 and 0x66 for a KCS (keyboard
controller style) IPMI system interface.

Trying to load the openipmi driver fails, because the ports
(0x62/0x66) are reserved for keyboard. keyboard reserves the full
range 0x60-0x6F while it doesn't need to.

Reserve only ports 0x60 and 0x64 for the legacy PS/2 i8042 keyboad
controller instead of 0x60-0x6F to allow the openipmi driver to work.

[ tglx: added 64bit fixup ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_64.c