[PATCH phosphor-host-ipmid v2 4/8] Reduced MAX_IPMI_BUFFER to support ast2400 FIFO

OpenBMC Patches patches at stwcx.xyz
Wed Oct 14 04:48:03 AEDT 2015


From: Chris Austen <austenc at us.ibm.com>

---
 ipmid.H | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ipmid.H b/ipmid.H
index 6b7d2c9..1cfe4c3 100755
--- a/ipmid.H
+++ b/ipmid.H
@@ -10,6 +10,10 @@ ipmi_ret_t ipmi_netfn_router(const ipmi_netfn_t, const ipmi_cmd_t, ipmi_request_
 
 // Plugin libraries need to _end_ with .so
 #define IPMI_PLUGIN_EXTN ".so"
-#define MAX_IPMI_BUFFER 255
+
+// The BT FIFO in the AST2400 can only handle 64 bytes.  
+// Can only allow 63 because the BT interface still 
+// needs 1 byte for the length field. 
+#define MAX_IPMI_BUFFER 63
 
 #endif
-- 
2.6.0




More information about the openbmc mailing list