added read/write support and PICMG ekey support

This commit is contained in:
Francois Isabelle 2005-07-12 13:15:02 +00:00
parent 89f6d591e0
commit 6514de2b13
2 changed files with 1181 additions and 547 deletions

View File

@ -175,8 +175,7 @@ struct fru_multirec_powersupply {
} __attribute__ ((packed)); } __attribute__ ((packed));
static const char *combined_voltage_desc[] __attribute__ ((unused)) = { static const char *combined_voltage_desc[] __attribute__ ((unused)) = {
"12 V", "-12 V", "5 V", "3.3 V" "12 V", "-12 V", "5 V", "3.3 V"};
};
struct fru_multirec_dcoutput { struct fru_multirec_dcoutput {
#if WORDS_BIGENDIAN #if WORDS_BIGENDIAN
@ -277,7 +276,6 @@ struct fru_picmgext_slot_desc {
unsigned char chn_count; unsigned char chn_count;
} __attribute__ ((packed)); } __attribute__ ((packed));
#define FRU_PICMGEXT_DESIGN_IF_BASE 0x00 #define FRU_PICMGEXT_DESIGN_IF_BASE 0x00
#define FRU_PICMGEXT_DESIGN_IF_FABRIC 0x01 #define FRU_PICMGEXT_DESIGN_IF_FABRIC 0x01
#define FRU_PICMGEXT_DESIGN_IF_UPDATE_CHANNEL 0x02 #define FRU_PICMGEXT_DESIGN_IF_UPDATE_CHANNEL 0x02
@ -308,17 +306,15 @@ struct fru_picmgext_carrier_p2p_descriptor {
#endif #endif
} __attribute__ ((packed)); } __attribute__ ((packed));
static const char *chassis_type_desc[] __attribute__ ((unused)) = { static const char *chassis_type_desc[] __attribute__ ((unused)) = {
"Unspecified", "Other", "Unknown", "Unspecified", "Other", "Unknown",
"Desktop", "Low Profile Desktop", "Pizza Box", "Desktop", "Low Profile Desktop", "Pizza Box",
"Mini Tower", "Tower", "Mini Tower", "Tower",
"Portable", "LapTop", "Notebook", "Hand Held", "Docking Station", "Portable", "LapTop", "Notebook", "Hand Held",
"All in One", "Sub Notebook", "Space-saving", "Lunch Box", "Docking Station", "All in One", "Sub Notebook",
"Main Server Chassis", "Expansion Chassis", "SubChassis", "Space-saving", "Lunch Box", "Main Server Chassis",
"Bus Expansion Chassis", "Peripheral Chassis", "RAID Chassis", "Expansion Chassis", "SubChassis", "Bus Expansion Chassis",
"Rack Mount Chassis" "Peripheral Chassis", "RAID Chassis", "Rack Mount Chassis"};
};
int ipmi_fru_main(struct ipmi_intf *intf, int argc, char **argv); int ipmi_fru_main(struct ipmi_intf *intf, int argc, char **argv);
int ipmi_fru_print(struct ipmi_intf *intf, struct sdr_record_fru_locator *fru); int ipmi_fru_print(struct ipmi_intf *intf, struct sdr_record_fru_locator *fru);

File diff suppressed because it is too large Load Diff