fru header: add return error codes specific to fru

Add two special return codes specific to the IPMI
FRU commands.

Signed-off-by: Patrick Venture <venture@google.com>
This commit is contained in:
Patrick Venture 2018-12-05 07:32:39 -08:00 committed by Alexander Amelkin
parent 3737b035e8
commit f64044a3de

View File

@ -590,6 +590,11 @@ struct fru_picmgext_amc_link_desc_record {
#pragma pack(0) #pragma pack(0)
#endif #endif
/* IPMI Return codes for Get FRU Inventory Area and Write FRU Inventory Area */
/* PROTECTED_OFFSET Only expected on write command failures. */
#define IPMI_CC_FRU_WRITE_PROTECTED_OFFSET 0x80
#define IPMI_CC_FRU_DEVICE_BUSY 0x81
/* FRU Board manufacturing date */ /* FRU Board manufacturing date */
#define FRU_BOARD_DATE_UNSPEC 0 /* IPMI FRU Information Storage Definition #define FRU_BOARD_DATE_UNSPEC 0 /* IPMI FRU Information Storage Definition
v1.0 rev 1.3, Table 11-1 */ v1.0 rev 1.3, Table 11-1 */