Commit:     4ff31d7757f57074ccfef352b9d156023914fb2b
Parent:     a8fa74ab529f23f812092ece8d7a4766af092332
Author:     Christian Krafft <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 5 00:30:48 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Mar 5 07:57:53 2007 -0800

    [PATCH] ipmi: check, if default ports are accessible on PPC
    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 <[EMAIL PROTECTED]>
    Acked-by: Michael Ellerman <[EMAIL PROTECTED]>
    Signed-off-by: Corey Minyard <[EMAIL PROTECTED]>
    Cc: Paul Mackerras <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/char/ipmi/ipmi_si_intf.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index a7b33d2..e221465 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2478,6 +2478,11 @@ static __devinit void default_find_bmc(void)
                if (!info)
+               if (check_legacy_ioport(ipmi_defaults[i].port))
+                       continue;
                info->addr_source = NULL;
                info->si_type = ipmi_defaults[i].type;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to