dmi_hpe_riser_position

Synopsis

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

typedef enum dmi_hpe_riser_position {
    DMI_HPE_RISER_POSITION_PRIMARY    = 0x01,
    DMI_HPE_RISER_POSITION_SECONDARY  = 0x02,
    DMI_HPE_RISER_POSITION_TERTIARY   = 0x03,
    DMI_HPE_RISER_POSITION_QUATERNARY = 0x04,
    DMI_HPE_RISER_POSITION_FRONT      = 0x0A
} dmi_hpe_riser_position_t;

const char *dmi_hpe_riser_position_name(dmi_hpe_riser_position_t value);

Description

The dmi_hpe_riser_position_t enumeration tells the position of a PCIe riser, and is the type of the position field of dmi_hpe_riser_t.

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

Values

DMI_HPE_RISER_POSITION_PRIMARY

Primary.

DMI_HPE_RISER_POSITION_SECONDARY

Secondary.

DMI_HPE_RISER_POSITION_TERTIARY

Tertiary.

DMI_HPE_RISER_POSITION_QUATERNARY

Quaternary.

DMI_HPE_RISER_POSITION_FRONT

Front.

Return value

dmi_hpe_riser_position_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.

See also

Standards

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