login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
29
Re: [PATCH] x86: restrict keyboard io ports reservation to make ipmi driver work
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Thomas Gleixner <tglx@...>
To: Yinghai Lu <yhlu.kernel@...>
Cc: LKML <linux-kernel@...>, Ingo Molnar <mingo@...>, Helge Wagner <Helge.Wagner@...>, Peter Zijlstra <peterz@...>, Alan Cox <alan@...>
Subject:
Re: [PATCH] x86: restrict keyboard io ports reservation to make ipmi driver work
Date: Tuesday, April 29, 2008 - 6:55 pm
On Tue, 29 Apr 2008, Yinghai Lu wrote:
quoted text
> On Tue, Apr 29, 2008 at 2:46 PM, Thomas Gleixner <tglx@linutronix.de> wrote: > > From: Helge Wagner <Helge.Wagner@gefanuc.com> > > > > 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. > > > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > > --- > > arch/x86/kernel/setup_32.c | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > Index: linux-2.6/arch/x86/kernel/setup_32.c > > =================================================================== > > --- linux-2.6.orig/arch/x86/kernel/setup_32.c > > +++ linux-2.6/arch/x86/kernel/setup_32.c > > @@ -127,7 +127,12 @@ static struct resource standard_io_resou > > }, { > > .name = "keyboard", > > .start = 0x0060, > > - .end = 0x006f, > > + .end = 0x0060, > > + .flags = IORESOURCE_BUSY | IORESOURCE_IO > > +}, { > > + .name = "keyboard", > > + .start = 0x0064, > > + .end = 0x0064, > > .flags = IORESOURCE_BUSY | IORESOURCE_IO > > }, { > > .name = "dma page reg", > > -- > > 64 bit need to be fixed too... > { .name = "keyboard", .start = 0x60, .end = 0x6f, > .flags = IORESOURCE_BUSY | IORESOURCE_IO },
Doh, yes. Thanks, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] x86: restrict keyboard io ports reservation to make ...
, Thomas Gleixner
, (Tue Apr 29, 5:46 pm)
Re: [PATCH] x86: restrict keyboard io ports reservation to m...
, Yinghai Lu
, (Tue Apr 29, 6:02 pm)
Re: [PATCH] x86: restrict keyboard io ports reservation to m...
, Thomas Gleixner
, (Tue Apr 29, 6:55 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrew Morton
Re: -mm merge plans for 2.6.23 (pcmcia)
Andi Kleen
[PATCH x86] [7/16] Convert lockdep to use arch_early_alloc() if available for its ...
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
netbsd-tech-kern
:
Havard Eidnes
namei caching of newly created files?
Marc Balmer
Support for multi-position electro-mechanical keylocks
Paul Goyette
Implement mode_select for atapi tape drives
Matthew Mondor
M:N and blocking ops without SA, AIO
Colocation donated by:
Who's online
There are currently
7 users
and
695 guests
online.
Online users
cheapairpurivr
ez_wpthemes
mesotheliomaimq
seotrainingomnf
pmpexamprepezd
cordic
troindow34
Syndicate