Lines Matching +full:mio +full:- +full:bank

8  * Copyright (C) 1992 - 1997, 1999, 2000 Silicon Graphics, Inc.
85 /* lboard_t->brd_flags fields */
97 #define SECOND_NIC_PRESENT 0x80 /* addons like MIO are present */
99 /* klinfo->flags fields */
108 #define IS_CONSOLE_IOC3(i) ((((klinfo_t *)i)->flags) & KLINFO_INSTALL)
162 (KL_CONFIG_HDR(_nasid)->ch_board_info)
164 (KL_CONFIG_HDR(_nasid)->ch_board_info = (_off))
167 (lboard_t *)((KL_CONFIG_HDR(_nasid)->ch_board_info) ? \
168 NODE_OFFSET_TO_K1((_nasid), KL_CONFIG_HDR(_nasid)->ch_board_info) : \
170 #define KL_CONFIG_MAGIC(_nasid) (KL_CONFIG_HDR(_nasid)->ch_magic)
173 (KL_CONFIG_HDR(_nasid)->ch_magic == KLCFGINFO_MAGIC)
176 (KL_CONFIG_HDR(_nasid)->ch_magic = KLCFGINFO_MAGIC)
178 /* --- New Macros for the changed kl_config_hdr_t structure --- */
181 ((unsigned long)_k + (_k->ch_malloc_hdr_off)))
186 ((unsigned long)_k + (_k->ch_cons_off)))
190 /* ------------------------------------------------------------- */
195 #define KL_CONFIG_BOARD_NASID(_brd) ((_brd)->brd_nasid)
196 #define KL_CONFIG_BOARD_SET_NEXT(_brd, _off) ((_brd)->brd_next = (_off))
198 #define KL_CONFIG_DUPLICATE_BOARD(_brd) ((_brd)->brd_flags & DUPLICATE_BOARD)
201 ((_xbowp)->xbow_port_info[(_link) - BASE_XBOW_PORT].port_flag & XBOW_PORT_HUB)
203 ((_xbowp)->xbow_port_info[(_link) - BASE_XBOW_PORT].port_flag & XBOW_PORT_IO)
206 ((_xbowp)->xbow_port_info[(_link) - BASE_XBOW_PORT].port_flag & XBOW_PORT_ENABLE)
208 ((_xbowp)->xbow_port_info[(_link) - BASE_XBOW_PORT].port_nasid)
221 * node.(TBD - Need a way to treat ROUTER boards.)
223 * There are 2 different structures to represent these boards -
224 * lboard - Local board, rboard - remote board. These 2 structures
227 * is used to find out its type - no unions are used.
245 +------------+ +------------+ +------------+ +------------+
246 | lboard | +-->| lboard | +-->| rboard | +-->| lboard |
247 +------------+ | +------------+ | +------------+ | +------------+
249 +------------+ | +------------+ | +------------+ | +------------+
250 | offset |--+ | offset |--+ | offset |--+ |offset=NULL |
251 +------------+ +------------+ +------------+ +------------+
254 +------------+
256 +------------+ +--------------------------------+
257 | compt 1 |------>| type, rev, diaginfo, size ... | (CPU)
258 +------------+ +--------------------------------+
259 | compt 2 |--+
260 +------------+ | +--------------------------------+
261 | ... | +--->| type, rev, diaginfo, size ... | (MEM_BANK)
262 +------------+ +--------------------------------+
263 | errinfo |--+
264 +------------+ | +--------------------------------+
265 +--->|r/l brd errinfo,compt err flags |
266 +--------------------------------+
297 * be used. If the NODE is non-zero (remote) then each offset should
315 #define KL_CPU_NONE (-1) /* no cpu present in slot */
326 and the non-graphics widget boards */
406 #define IS_MIO_PRESENT(l) ((l->brd_type == KLTYPE_BASEIO) && \
407 (l->brd_flags & SECOND_NIC_PRESENT))
455 #define BOARD_SLOT(_brd) ((_brd)->brd_slot)
457 #define KLCF_CLASS(_brd) KLCLASS((_brd)->brd_type)
458 #define KLCF_TYPE(_brd) KLTYPE((_brd)->brd_type)
459 #define KLCF_REMOTE(_brd) (((_brd)->struct_type & LOCAL_BOARD) ? 0 : 1)
460 #define KLCF_NUM_COMPS(_brd) ((_brd)->brd_numcompts)
461 #define KLCF_MODULE_ID(_brd) ((_brd)->brd_module)
464 ((_brd)->brd_next ? \
465 (lboard_t *)(NODE_OFFSET_TO_K1(NASID_GET(_brd), (_brd)->brd_next)):\
469 (_brd)->brd_compts[(_ndx)]))
472 (NODE_OFFSET_TO_K1(NASID_GET(_brd), (_comp)->errinfo))
474 #define KLCF_COMP_TYPE(_comp) ((_comp)->struct_type)
475 #define KLCF_BRIDGE_W_ID(_comp) ((_comp)->physid) /* Widget ID */
495 unsigned char widid; /* Widget id - if applicable */
496 nasid_t nasid; /* node number - from parent */
505 #define KLCONFIG_INFO_ENABLED(_i) ((_i)->flags & KLINFO_ENABLE)
622 typedef struct klmembnk_s { /* MEMORY BANK */
625 short membnk_dimm_select; /* bank to physical addr mapping*/
626 short membnk_bnksz[MD_MEM_BANKS]; /* Memory bank sizes */
631 ((_info)->membnk_bnksz[(_bank)])
636 ((_info)->membnk_attr & (MEMBNK_PREMIUM << (_bank)))
654 KLCF_COMP(_l, _l->brd_numcompts))
698 typedef struct klvmeb_s { /* VME BRIDGE - PCI CTLR */
704 typedef struct klvmed_s { /* VME DEVICE - VME BOARD */
712 /* XXX - Don't we need the number of ports here?!? */
810 typedef struct klmio_s { /* MIO */
846 * TBD - Can the ARCS and device driver related info also be included in the
852 * TBD - Allocation issues.