dmi_cisco_slot_buses
Synopsis
#include <opendmi/entity/cisco/slot-buses.h>
typedef struct dmi_cisco_slot_buses {
const char *slot;
size_t bus_count;
uint8_t *buses;
} dmi_cisco_slot_buses_t;
Description
The dmi_cisco_slot_buses_t structure holds the decoded Cisco PCI slot
buses, which list the PCI buses behind a slot of a Cisco UCS server,
presumably: the numbers match the adapters the PCI adapter information gives
for the same slot, see dmi_cisco_pci_adapter, e.g. six of them for
Cisco UCS VIC 1455, which has a PCI switch.
The structure is returned by dmi_entity_info for the structures decoded
by dmi_cisco_slot_buses_spec, of type DMI_TYPE(cisco_slot_buses), declared in <opendmi/module/cisco.h>,
once the Cisco extension module (dmi_cisco_module) is enabled, which is done
for the platforms whose firmware vendor is Cisco when the context has
DMI_CONTEXT_FLAG_AUTO_MODULES. It lives as long as the context it has been
decoded in.