18 #if defined(PCI) && !defined(OSDEF)
158 struct s_c_ring *c_next ;
162 struct mib_path_config {
163 u_long fddimibPATHConfigSMTIndex;
164 u_long fddimibPATHConfigPATHIndex;
165 u_long fddimibPATHConfigTokenOrder;
166 u_long fddimibPATHConfigResourceType;
167 #define SNMP_RES_TYPE_MAC 2
168 #define SNMP_RES_TYPE_PORT 4
169 u_long fddimibPATHConfigResourceIndex;
170 u_long fddimibPATHConfigCurrentPath;
171 #define SNMP_PATH_ISOLATED 1
172 #define SNMP_PATH_LOCAL 2
173 #define SNMP_PATH_SECONDARY 3
174 #define SNMP_PATH_PRIMARY 4
175 #define SNMP_PATH_CONCATENATED 5
176 #define SNMP_PATH_THRU 6
185 #define PCM_DISABLED 0
186 #define PCM_CONNECTING 1
187 #define PCM_STANDBY 2
212 #define PMD_SK_CONN 0
254 #define SMT_EVENT_BASE 1
255 #define SMT_EVENT_MAC_PATH_CHANGE (SMT_EVENT_BASE+0)
256 #define SMT_EVENT_MAC_NEIGHBOR_CHANGE (SMT_EVENT_BASE+1)
257 #define SMT_EVENT_PORT_PATH_CHANGE (SMT_EVENT_BASE+2)
258 #define SMT_EVENT_PORT_CONNECTION (SMT_EVENT_BASE+3)
260 #define SMT_IS_CONDITION(x) ((x)>=SMT_COND_BASE)
262 #define SMT_COND_BASE (SMT_EVENT_PORT_CONNECTION+1)
263 #define SMT_COND_SMT_PEER_WRAP (SMT_COND_BASE+0)
264 #define SMT_COND_SMT_HOLD (SMT_COND_BASE+1)
265 #define SMT_COND_MAC_FRAME_ERROR (SMT_COND_BASE+2)
266 #define SMT_COND_MAC_DUP_ADDR (SMT_COND_BASE+3)
267 #define SMT_COND_MAC_NOT_COPIED (SMT_COND_BASE+4)
268 #define SMT_COND_PORT_EB_ERROR (SMT_COND_BASE+5)
269 #define SMT_COND_PORT_LER (SMT_COND_BASE+6)
272 #define SR1_HOLDOFF 1
273 #define SR2_DISABLED 2
287 #define RS_RES15 (1<<15)
288 #define RS_HARDERROR (1<<14)
289 #define RS_SOFTERROR (1<<13)
290 #define RS_BEACON (1<<12)
291 #define RS_PATHTEST (1<<11)
292 #define RS_SELFTEST (1<<10)
293 #define RS_RES9 (1<< 9)
294 #define RS_DISCONNECT (1<< 8)
295 #define RS_RES7 (1<< 7)
296 #define RS_DUPADDR (1<< 6)
297 #define RS_NORINGOP (1<< 5)
298 #define RS_VERSION (1<< 4)
299 #define RS_STUCKBYPASSS (1<< 3)
300 #define RS_EVENT (1<< 2)
301 #define RS_RINGOPCHANGE (1<< 1)
302 #define RS_RES0 (1<< 0)
304 #define RS_SET(smc,bit) \
305 ring_status_indication(smc,smc->srf.ring_status |= bit)
306 #define RS_CLEAR(smc,bit) \
307 ring_status_indication(smc,smc->srf.ring_status &= ~bit)
309 #define RS_CLEAR_EVENT (0xffff & ~(RS_NORINGOP))
314 #define AIX_EVENT(smc,opt0,opt1,opt2,opt3)
330 #define SMT_MAX_TEST 5
331 #define SMT_TID_NIF 0
332 #define SMT_TID_NIF_TEST 1
333 #define SMT_TID_ECF_UNA 2
334 #define SMT_TID_ECF_DNA 3
335 #define SMT_TID_ECF 4
420 struct os_debug d_os;
425 extern struct smt_debug
debug;
464 #if defined(DEBUG) && defined(DEBUG_BRD)
466 struct smt_debug
debug;