From 09011bb590adb8908c53a450a5f6eba94d200b0a Mon Sep 17 00:00:00 2001 From: Jean-Michel Audet Date: Wed, 17 Sep 2008 19:58:57 +0000 Subject: [PATCH] - Add gendev (stands for generic device) menu to support Eeprom publish with SDR Type 10h (Gendev). Eeprom can be read write with Master Write-Read IPMI cmd. --- ipmitool/src/ipmitool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipmitool/src/ipmitool.c b/ipmitool/src/ipmitool.c index 6a5ff23..7523b1a 100644 --- a/ipmitool/src/ipmitool.c +++ b/ipmitool/src/ipmitool.c @@ -38,6 +38,7 @@ #include #include +#include #include #include #include @@ -90,6 +91,7 @@ struct ipmi_cmd ipmitool_cmd_list[] = { { ipmi_sdr_main, "sdr", "Print Sensor Data Repository entries and readings" }, { ipmi_sensor_main, "sensor", "Print detailed sensor information" }, { ipmi_fru_main, "fru", "Print built-in FRU and scan SDR for FRU locators" }, + { ipmi_gendev_main, "gendev", "Read/Write Device associated with Generic Device locators sdr" }, { ipmi_sel_main, "sel", "Print System Event Log (SEL)" }, { ipmi_pef_main, "pef", "Configure Platform Event Filtering (PEF)" }, { ipmi_sol_main, "sol", "Configure and connect IPMIv2.0 Serial-over-LAN" },