summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Khemka <vijaykhemka@fb.com>2019-12-11 20:01:55 +0100
committerCorey Minyard <cminyard@mvista.com>2019-12-11 20:22:21 +0100
commit380665becdeeb4f455c23582b7f32e6b3cea27d2 (patch)
tree44b995911b2c08def8a6368dd3cfe58f7294a151
parentdrivers: ipmi: Support raw i2c packet in IPMB (diff)
downloadlinux-380665becdeeb4f455c23582b7f32e6b3cea27d2.tar.xz
linux-380665becdeeb4f455c23582b7f32e6b3cea27d2.zip
drivers: ipmi: Modify max length of IPMB packet
As per IPMB specification, maximum packet size supported is 255, modified Max length to 240 from 128 to accommodate more data. Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Message-Id: <20191211190155.1279610-1-vijaykhemka@fb.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
-rw-r--r--drivers/char/ipmi/ipmb_dev_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmb_dev_int.c b/drivers/char/ipmi/ipmb_dev_int.c
index 86674292b213..9fdae83e59e0 100644
--- a/drivers/char/ipmi/ipmb_dev_int.c
+++ b/drivers/char/ipmi/ipmb_dev_int.c
@@ -19,7 +19,7 @@
#include <linux/spinlock.h>
#include <linux/wait.h>
-#define MAX_MSG_LEN 128
+#define MAX_MSG_LEN 240
#define IPMB_REQUEST_LEN_MIN 7
#define NETFN_RSP_BIT_MASK 0x4
#define REQUEST_QUEUE_MAX_LEN 256