All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipmi: check, if default ports are accessible on PPC
@ 2007-03-02 14:38 Corey Minyard
  0 siblings, 0 replies; 5+ messages in thread
From: Corey Minyard @ 2007-03-02 14:38 UTC (permalink / raw)
  To: Linux Kernel, Andrew Morton; +Cc: Christian Krafft, Michael Ellerman

From: Christian Krafft <krafft@de.ibm.com>

ipmi_si_intf tries to access default ports, if no device could
be found elsewhere. On PPC we have a function to check,
if these legacy IO ports are accessible. This patch adds
a check for these ports on PPC.
This patch fixes a breakage of IPMI module
on PPC machines without a BMC.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Corey Minyard <minyard@acm.org>

Index: linux/drivers/char/ipmi/ipmi_si_intf.c
===================================================================
--- linux.orig/drivers/char/ipmi/ipmi_si_intf.c
+++ linux/drivers/char/ipmi/ipmi_si_intf.c
@@ -2580,6 +2580,11 @@ static __devinit void default_find_bmc(v
 		if (!info)
 			return;
 
+#ifdef CONFIG_PPC_MERGE
+		if (check_legacy_ioport(ipmi_defaults[i].port))
+			continue;
+#endif
+
 		info->addr_source = NULL;
 
 		info->si_type = ipmi_defaults[i].type;
 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-20 18:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1172223703.4695.59.camel@concordia.ozlabs.ibm.com>
     [not found] ` <20070223135859.62e19ca8@localhost>
     [not found]   ` <1172295412.16060.8.camel@concordia.ozlabs.ibm.com>
2007-02-26 15:09     ` [patch] ipmi: check, if default ports are accessible on PPC Christian Krafft
2007-02-27  2:27       ` Michael Ellerman
2007-04-20 17:48       ` Olaf Hering
2007-04-20 18:08         ` Olaf Hering
2007-03-02 14:38 [PATCH] " Corey Minyard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.