Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] 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@mvista.com>
Cc: Patrick Schoeller <Patrick.Schoeller@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Corey Minyard and committed by
Linus Torvalds
5a1099ba 4d7cbac7

+2 -2
+2 -2
drivers/char/ipmi/ipmi_kcs_sm.c
··· 93 93 state machine. */ 94 94 }; 95 95 96 - #define MAX_KCS_READ_SIZE 80 97 - #define MAX_KCS_WRITE_SIZE 80 96 + #define MAX_KCS_READ_SIZE IPMI_MAX_MSG_LENGTH 97 + #define MAX_KCS_WRITE_SIZE IPMI_MAX_MSG_LENGTH 98 98 99 99 /* Timeouts in microseconds. */ 100 100 #define IBF_RETRY_TIMEOUT 1000000