[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061202044001.GH30531@localdomain>
Date: Fri, 1 Dec 2006 22:40:01 -0600
From: Corey Minyard <minyard@....org>
To: Andrew Morton <akpm@...l.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Cc: OpenIPMI Developers <openipmi-developer@...ts.sourceforge.net>,
Patrick Schoeller <Patrick.Schoeller@...com>
Subject: [PATCH 12/12] IPMI: increase KCS message size
Increase the maximum message size a KCS interface supports to the
maximum message size the rest of the driver supports. Some systems
really support messages this big.
Signed-off-by: Corey Minyard <cminyard@...sta.com>
Cc: Patrick Schoeller <Patrick.Schoeller@...com>
Index: linux-2.6.19-rc6/drivers/char/ipmi/ipmi_kcs_sm.c
===================================================================
--- linux-2.6.19-rc6.orig/drivers/char/ipmi/ipmi_kcs_sm.c
+++ linux-2.6.19-rc6/drivers/char/ipmi/ipmi_kcs_sm.c
@@ -93,8 +93,8 @@ enum kcs_states {
state machine. */
};
-#define MAX_KCS_READ_SIZE 80
-#define MAX_KCS_WRITE_SIZE 80
+#define MAX_KCS_READ_SIZE IPMI_MAX_MSG_LENGTH
+#define MAX_KCS_WRITE_SIZE IPMI_MAX_MSG_LENGTH
/* Timeouts in microseconds. */
#define IBF_RETRY_TIMEOUT 1000000
-
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