mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 12/12] IPMI: increase KCS message size
@ 2006-12-02  4:40 Corey Minyard
  0 siblings, 0 replies; only message in thread
From: Corey Minyard @ 2006-12-02  4:40 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel; +Cc: OpenIPMI Developers, Patrick Schoeller


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@mvista.com>
Cc: Patrick Schoeller <Patrick.Schoeller@hp.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-02  4:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-02  4:40 [PATCH 12/12] IPMI: increase KCS message size Corey Minyard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®