Initial commit
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
From 0852966f5ef9821c291007cfedf7e744d8577215 Mon Sep 17 00:00:00 2001
|
||||
From: hliangs90 <hliangs90@gmail.com>
|
||||
Date: Fri, 23 Aug 2024 21:55:31 +0800
|
||||
Subject: [PATCH] Modify OEM Command to 0x36 to support IANA register
|
||||
|
||||
Signed-off-by: hliangs90 <hliangs90@gmail.com>
|
||||
---
|
||||
ipmid-new.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/ipmid-new.cpp b/ipmid-new.cpp
|
||||
index 2a78c68..8f5cd32 100644
|
||||
--- a/ipmid-new.cpp
|
||||
+++ b/ipmid-new.cpp
|
||||
@@ -318,7 +318,7 @@ message::Response::ptr executeIpmiCommand(message::Request::ptr request)
|
||||
{
|
||||
return executeIpmiGroupCommand(request);
|
||||
}
|
||||
- else if (netFnOem == netFn)
|
||||
+ else if (netFnOemFour == netFn || netFn == netFnOem)
|
||||
{
|
||||
return executeIpmiOemCommand(request);
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
From 7305120634cef58af46e98b81418a38a753ffaf5 Mon Sep 17 00:00:00 2001
|
||||
From: hliangs90 <hliangs90@gmail.com>
|
||||
Date: Sat, 24 Aug 2024 02:57:40 +0800
|
||||
Subject: [PATCH] Remove INAN Header In IPMI Response For OEM Command Support
|
||||
|
||||
Signed-off-by: hliangs90 <hliangs90@gmail.com>
|
||||
---
|
||||
ipmid-new.cpp | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/ipmid-new.cpp b/ipmid-new.cpp
|
||||
index 8f5cd32..baa6a19 100644
|
||||
--- a/ipmid-new.cpp
|
||||
+++ b/ipmid-new.cpp
|
||||
@@ -305,9 +305,9 @@ message::Response::ptr executeIpmiOemCommand(message::Request::ptr request)
|
||||
auto iana = static_cast<Iana>(bytes);
|
||||
message::Response::ptr response = executeIpmiCommandCommon(oemHandlerMap,
|
||||
iana, request);
|
||||
- ipmi::message::Payload prefix;
|
||||
- prefix.pack(bytes);
|
||||
- response->prepend(prefix);
|
||||
+ // ipmi::message::Payload prefix;
|
||||
+ // prefix.pack(bytes);
|
||||
+ // response->prepend(prefix);
|
||||
return response;
|
||||
}
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += " file://0001-Modify-OEM-Command-to-0x36-to-support-IANA-register.patch \
|
||||
file://0002-Remove-INAN-Header-In-IPMI-Response-For-OEM-Command-.patch "
|
||||
Reference in New Issue
Block a user