[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070302143818.GA5224@localdomain>
Date: Fri, 2 Mar 2007 08:38:19 -0600
From: Corey Minyard <minyard@....org>
To: Linux Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>
Cc: Christian Krafft <krafft@...ibm.com>,
Michael Ellerman <michael@...erman.id.au>
Subject: [PATCH] ipmi: check, if default ports are accessible on PPC
From: Christian Krafft <krafft@...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@...ibm.com>
Acked-by: Michael Ellerman <michael@...erman.id.au>
Signed-off-by: Corey Minyard <minyard@....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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists