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 <[EMAIL PROTECTED]> Cc: Patrick Schoeller <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Openipmi-developer mailing list Openipmi-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openipmi-developer