board_type
type_str(enum board_type type)
bnode->board_type = UNKNOWN_BOARD;
int board_type;
char *board_type = NULL;
if (bnode->board_type == CPU_BOARD) {
board_type = "CPU";
board_type = "IO";
"on %s Board #%d\n"), name, board_type,
"%s board %d\n"), board_type,
bnode->board_type = UNKNOWN_BOARD;
char *board_type = NULL;
if (bnode->board_type == CPU_BOARD) {
board_type = "CPU";
board_type = "IO";
"on %s Board #%d\n"), name, board_type,
"%s board %d\n"), board_type,
uint64_t board_type;
board_type = picldiag_get_uint_propval(nodeh,
if (board_type & FFB_B_BUFF)
char *board_type = NULL;
if (bnode->board_type == CPU_BOARD) {
board_type = "CPU";
board_type = "IO";
"on %s Board #%d\n"), name, board_type,
"%s board %d\n"), board_type,
bnode->board_type = UNKNOWN_BOARD;
uint64_t board_type;
board_type = picldiag_get_uint_propval(nodeh,
if (board_type & FFB_B_BUFF)
bnode->board_type = UNKNOWN_BOARD;
bnode->board_type = UNKNOWN_BOARD;
hpc_board_type_t board_type;
(caddr_t)&board_type) != 0) {
if (copyout((void *)&board_type, hpc_ctrldata.data,
hpc_board_type_t board_type;
board_type = pcihp_get_board_type(slotinfop);
if (board_type == -1) {
if (copyout((void *)&board_type, hpc_ctrldata.data,
hpc_board_type_t board_type;
(caddr_t)&board_type) != 0) {
board_type = HPC_BOARD_CPCI_FULL_HS;
if (board_type == HPC_BOARD_CPCI_HS) {
board_type = HPC_BOARD_CPCI_BASIC_HS;
if (board_type == HPC_BOARD_UNKNOWN) {
board_type = pcihp_cpci_board_type;
board_type = HPC_BOARD_CPCI_FULL_HS;
if (board_type == HPC_BOARD_CPCI_NON_HS)
return (board_type);
if ((adapter->ahw.boardcfg.board_type !=
(adapter->ahw.boardcfg.board_type !=
__uint32_t board_type;
int btype = adapter->ahw.boardcfg.board_type, data = 0;
switch (adapter->ahw.boardcfg.board_type) {
switch (adapter->ahw.board_type) {
if (adapter->ahw.board_type == UNM_NIC_XGBE)
if (adapter->ahw.board_type == UNM_NIC_XGBE) {
uint16_t board_type;
if (boardinfo->board_type == UNM_BRDTYPE_P3_4_GB_MM) {
boardinfo->board_type = UNM_BRDTYPE_P3_10G_TRP;
boardinfo->board_type));
switch ((unm_brdtype_t)boardinfo->board_type) {
adapter->ahw.board_type = UNM_NIC_GBE;
adapter->ahw.board_type = UNM_NIC_XGBE;
adapter->ahw.board_type = UNM_NIC_GBE;
adapter->ahw.board_type = UNM_NIC_GBE;
adapter->ahw.board_type = UNM_NIC_XGBE;
adapter->ahw.board_type = UNM_NIC_GBE;
boardinfo->board_type));
switch (adapter->ahw.board_type) {
switch (adapter->ahw.board_type) {
switch (adapter->ahw.board_type) {
switch (adapter->ahw.board_type) {
switch (adapter->ahw.board_type) {
switch (adapter->ahw.board_type) {
switch (adapter->ahw.board_type) {
GET_BRD_NAME_BY_TYPE(board_info->board_type, brd_name);
if (adapter->ahw.board_type == UNM_NIC_GBE)
switch (adapter->ahw.board_type) {
if (adapter->ahw.board_type == UNM_NIC_XGBE) {
if (adapter->ahw.board_type == UNM_NIC_XGBE) {
if (adapter->ahw.board_type == UNM_NIC_GBE) {
} else if (adapter->ahw.board_type == UNM_NIC_XGBE) {
if (adapter->ahw.board_type == UNM_NIC_XGBE) {
rc = efx_mcdi_get_board_cfg(enp, &board_type, NULL, NULL);
board_type = 0;
encp->enc_board_type = board_type;
uint32_t board_type = 0;
uint32_t board_type = 0;
rc = efx_mcdi_get_board_cfg(enp, &board_type, NULL, NULL);
board_type = 0;
encp->enc_board_type = board_type;
efx_byte_t board_type;
uint32_t board_type;
if ((rc = efx_mcdi_get_board_cfg(enp, &board_type,
encp->enc_board_type = board_type;
switch (dnetp->board_type) {
switch (dnetp->board_type) {
if (dnetp->board_type != DEVICE_ID_21040 &&
dnetp->board_type != DEVICE_ID_21041) {
} else if (dnetp->board_type != DEVICE_ID_21140) {
dnet_read_srom(dev_info_t *devinfo, int board_type, ddi_acc_handle_t io_handle,
if (board_type == DEVICE_ID_21040)
if (dnetp->board_type != DEVICE_ID_21040)
if (dnetp->sr.init_from_srom && dnetp->board_type != DEVICE_ID_21040) {
if (dnetp->board_type == DEVICE_ID_21140) {
} else if (dnetp->board_type == DEVICE_ID_21041) {
} else if (dnetp->board_type == DEVICE_ID_21040) {
if (dnetp->board_type == DEVICE_ID_21140) /* Sect. 4.3 */
if (dnetp->board_type == DEVICE_ID_21041) {
dnetp->board_type = deviceid;
secondary = dnet_read_srom(devinfo, dnetp->board_type, dnetp->io_handle,
((dnetp->board_type == DEVICE_ID_21140 && revid >= 0x20) ||
(dnetp->board_type == DEVICE_ID_21143 && revid <= 0x30)) ? 1 : 0;
if (dnetp->board_type != DEVICE_ID_21040 &&
dnetp->board_type != DEVICE_ID_21041 &&
if (dnetp->board_type == DEVICE_ID_21140 ||
dnetp->board_type == DEVICE_ID_21143)
int board_type; /* board type: 21040 or 21140 */
sghsc->sghsc_slot_table[slot].board_type;
enum_state->sghsc_slot_table[rsp_data->slot].board_type =
enum_state->sghsc_slot_table[rsp_data->slot].board_type =
int board_type = 0;
sghsc->sghsc_board, 0, &board_type);
instance, sghsc->sghsc_node_id, sghsc->sghsc_board, board_type));
if (sghsc_register_slots(sghsc, board_type) != DDI_SUCCESS) {
sghsc_register_slots(sghsc_t *sghsc, int board_type)
switch (board_type) {
board_type, sghsc->sghsc_node_id,
sghsc->sghsc_slot_table[i].board_type = HPC_BOARD_UNKNOWN;
uint32_t board_type;
enum board_type type = softsp->list->sc.type;
enum board_type type = softsp->list->sc.type;
calibrate_temp(enum board_type type, uchar_t temp, uint_t ac_comp)
get_temp_state(enum board_type type, short temp, int board)
build_bd_display_str(char *buffer, enum board_type type, int board)
enum board_type type;
static enum board_type fhc_board_type(struct fhc_soft_state *, int);
static short calibrate_temp(enum board_type, uchar_t, uint_t);
static enum temp_state get_temp_state(enum board_type, short, int);
static void build_bd_display_str(char *, enum board_type, int);
static enum board_type
char *board_type;
enum board_type type;
DDI_PROP_DONTPASS, "board-type", (caddr_t)&board_type,
if (strcmp(CPU_BD_NAME, board_type) == 0) {
} else if (strcmp(MEM_BD_NAME, board_type) == 0) {
} else if (strcmp(IO_2SBUS_BD_NAME, board_type) == 0) {
} else if (strcmp(IO_SBUS_FFB_BD_NAME, board_type) == 0) {
} else if (strcmp(IO_2SBUS_SOCPLUS_BD_NAME, board_type) == 0) {
} else if (strcmp(IO_SBUS_FFB_SOCPLUS_BD_NAME, board_type)
} else if (strcmp(IO_PCI_BD_NAME, board_type) == 0) {
kmem_free(board_type, proplen);
fhc_bd_init(struct fhc_soft_state *softsp, int board, enum board_type type)
enum board_type
fhc_bd_typestr(enum board_type type)
enum board_type type;
enum board_type type;
get_ring_descriptor_bytype(int ring, enum board_type type)
enum board_type
jtag_init_ac(volatile u_int *jreg, int bid, enum board_type brdtype)
jtag_powerdown_board(volatile u_int *jreg, int board, enum board_type type,
static int jtag_init_ac(volatile u_int *, int, enum board_type);
static int sysc_board_connect_supported(enum board_type);
sysc_board_connect_supported(enum board_type type)
enum board_type type; /* Type of board */
enum board_type type; /* Type of board */
void fhc_bd_init(struct fhc_soft_state *, int, enum board_type);
enum board_type fhc_bd_type(int);
char *fhc_bd_typestr(enum board_type);
enum board_type get_board_type(int board);
enum board_type jtag_get_board_type(volatile uint_t *, sysc_cfga_stat_t *);
int jtag_powerdown_board(volatile uint_t *, int, enum board_type,