File OpenIPMI-2.0.16-larger-ipmibuf of Package OpenIPMI
From: Kurt Garloff <garloff@suse.de>
Subject: Increase maximum IPMI message length
The SOL implementation on Asus ASMB4-iKVM sends larger IPMI messages
than anticipated with an 80byte message limit.
Increase to 256.
Signed-off-by: Kurt Garloff <garloff@suse.de>
diff -uNrp OpenIPMI-2.0.16/include/linux/ipmi_msgdefs.h OpenIPMI-2.0.16.ASMB/include/linux/ipmi_msgdefs.h
--- OpenIPMI-2.0.16/include/linux/ipmi_msgdefs.h 2003-06-07 14:02:11.000000000 +0200
+++ OpenIPMI-2.0.16.ASMB/include/linux/ipmi_msgdefs.h 2010-02-22 16:24:59.000000000 +0100
@@ -53,6 +53,6 @@
#define IPMI_GET_BMC_GLOBAL_ENABLES_CMD 0x2f
#define IPMI_READ_EVENT_MSG_BUFFER_CMD 0x35
-#define IPMI_MAX_MSG_LENGTH 80
+#define IPMI_MAX_MSG_LENGTH 256
#endif /* __LINUX_IPMI_MSGDEFS_H */
diff -uNrp OpenIPMI-2.0.16/include/OpenIPMI/ipmi_types.h OpenIPMI-2.0.16.ASMB/include/OpenIPMI/ipmi_types.h
--- OpenIPMI-2.0.16/include/OpenIPMI/ipmi_types.h 2006-11-29 21:45:16.000000000 +0100
+++ OpenIPMI-2.0.16.ASMB/include/OpenIPMI/ipmi_types.h 2010-02-22 16:24:31.000000000 +0100
@@ -121,7 +121,7 @@ typedef int64_t ipmi_time_t;
#ifndef __LINUX_IPMI_H /* Don't include this is we are including the kernel */
-#define IPMI_MAX_MSG_LENGTH 80
+#define IPMI_MAX_MSG_LENGTH 256
/* A raw IPMI message without any addressing. This covers both
commands and responses. The completion code is always the first