summaryrefslogtreecommitdiffstats
path: root/discover/ipmi.h
diff options
context:
space:
mode:
authorSam Mendoza-Jonas <sam@mendozajonas.com>2016-01-29 15:16:34 +1100
committerSam Mendoza-Jonas <sam@mendozajonas.com>2016-02-10 16:21:08 +1100
commitd531395a3ff60730238854b127925978f6eab289 (patch)
treee2dcc3ec892e43c0a3a2f5f03020a85f7fda7a31 /discover/ipmi.h
parentd974c3c39237c8e94bb3a51d3511d18dea01043e (diff)
downloadtalos-petitboot-d531395a3ff60730238854b127925978f6eab289.tar.gz
talos-petitboot-d531395a3ff60730238854b127925978f6eab289.zip
Retrieve BMC version info via IPMI
On BMC machines the "Get Device ID" and "Get BMC Golden Side Version" IPMI commands are available. If possible retrieve some interesting version numbers and display them in the System Information screen. Signed-off-by: Sam Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/ipmi.h')
-rw-r--r--discover/ipmi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/discover/ipmi.h b/discover/ipmi.h
index eb2a183..611cd49 100644
--- a/discover/ipmi.h
+++ b/discover/ipmi.h
@@ -9,7 +9,9 @@
enum ipmi_netfn {
IPMI_NETFN_CHASSIS = 0x0,
IPMI_NETFN_SE = 0x04,
+ IPMI_NETFN_APP = 0x06,
IPMI_NETFN_TRANSPORT = 0x0c,
+ IPMI_NETFN_AMI = 0x3a,
};
enum ipmi_cmd {
@@ -17,6 +19,8 @@ enum ipmi_cmd {
IPMI_CMD_CHASSIS_GET_SYSTEM_BOOT_OPTIONS = 0x09,
IPMI_CMD_SENSOR_SET = 0x30,
IPMI_CMD_TRANSPORT_GET_LAN_PARAMS = 0x02,
+ IPMI_CMD_APP_GET_DEVICE_ID = 0x01,
+ IPMI_CMD_APP_GET_DEVICE_ID_GOLDEN = 0x1a,
};
enum ipmi_sensor_ids {
OpenPOWER on IntegriCloud