dmi_hpe_board_type

Synopsis

#include <opendmi/entity/hpe/extension-board.h>

typedef enum dmi_hpe_board_type {
    DMI_HPE_BOARD_TYPE_RISER     = 0x00,
    DMI_HPE_BOARD_TYPE_MHS_RISER = 0x01
} dmi_hpe_board_type_t;

const char *dmi_hpe_board_type_name(dmi_hpe_board_type_t value);

Description

The dmi_hpe_board_type_t enumeration tells the type of an extension board, which selects the layout of the rest of the structure, and is the type of the board_type field of dmi_hpe_riser_t and of dmi_hpe_mhs_riser_t.

The dmi_hpe_board_type_name function returns the name of a value, as the command line tool shows it.

Values

DMI_HPE_BOARD_TYPE_RISER

PCIe riser.

DMI_HPE_BOARD_TYPE_MHS_RISER

PCIe riser of an MHS platform.

Return value

dmi_hpe_board_type_name returns the name of the value, translated to the language of the current locale when a translation is available, or nullptr if the value has no name. The returned string must not be modified or freed.

Errors

None.

Standards

Not part of the SMBIOS specification. Defined by HP and HPE for their servers; the layout is the one dmidecode documents.