Lines Matching +full:sync +full:- +full:on +full:- +full:green +full:- +full:active
1 // SPDX-License-Identifier: GPL-2.0-or-later
26 * PCM active state
44 * | --------------------- the patched POS_ID of the Adapter
49 * +------------------------------ the patched oem_id must be
66 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i]
129 smc->hw.hw_is_64bit = TRUE ; in card_start()
131 smc->hw.hw_is_64bit = FALSE ; in card_start()
137 if (!smc->hw.hw_is_64bit) { in card_start()
144 outp(ADDR(B0_LED),LED_GA_OFF|LED_MY_ON|LED_GB_OFF) ; /* ye LED on */ in card_start()
150 smc->hw.is_imask = ISR_MASK ; in card_start()
151 smc->hw.hw_state = STOPPED ; in card_start()
159 smc->hw.mac_ring_is_up = 0 ; /* ring down */ in card_stop()
174 smc->hw.hw_state = STOPPED ; in card_stop()
177 /*--------------------------- ISR handling ----------------------------------*/
216 FM_STEFRMS)) { /* end of sync tx */ in mac1_irq()
253 smc->hw.t_stop = smc->hw.t_start; in timer_irq()
258 * return S-port (PA or PB)
267 * Station Label = "FDDI-XYZ" where
285 smc->hw.fddi_phys_addr.a[i] = in read_address()
293 smc->y[PA].pmd_type[PMD_SK_CONN] = in read_address()
294 smc->y[PB].pmd_type[PMD_SK_CONN] = ConnectorType ; in read_address()
295 smc->y[PA].pmd_type[PMD_SK_PMD ] = in read_address()
296 smc->y[PB].pmd_type[PMD_SK_PMD ] = PmdType ; in read_address()
300 smc->hw.fddi_canon_addr.a[i] = mac_addr[i] ; in read_address()
301 smc->hw.fddi_home_addr.a[i] = bitrev8(mac_addr[i]); in read_address()
305 smc->hw.fddi_home_addr = smc->hw.fddi_phys_addr ; in read_address()
308 smc->hw.fddi_canon_addr.a[i] = in read_address()
309 bitrev8(smc->hw.fddi_phys_addr.a[i]); in read_address()
322 smc->s.sas = SMT_SAS ; /* Single att. station */ in init_board()
324 smc->s.sas = SMT_DAS ; /* Dual att. station */ in init_board()
327 smc->mib.fddiSMTBypassPresent = 0 ; in init_board()
330 smc->mib.fddiSMTBypassPresent = 1 ; in init_board()
342 if (smc->s.sas != SMT_DAS) in sm_pm_bypass_req()
380 * 0 Only switch green LEDs according to their respective PCM state
382 * LED_Y_ON just switch yello LED on
386 /* use smc->hw.mac_ring_is_up == TRUE in led_indication()
394 phy = &smc->y[PA] ; in led_indication()
395 mib_a = phy->mib ; in led_indication()
396 phy = &smc->y[PB] ; in led_indication()
397 mib_b = phy->mib ; in led_indication()
410 /* Link at Port A/S = green led A ON */ in led_indication()
411 if (mib_a->fddiPORTPCMState == PC8_ACTIVE) { in led_indication()
418 /* Link at Port B = green led B ON */ in led_indication()
419 if (mib_b->fddiPORTPCMState == PC8_ACTIVE) { in led_indication()
465 #ifndef SYNC in llc_recover_tx()
466 smc->hw.n_a_send= 0 ; in llc_recover_tx()
487 * The default OEM is the first ACTIVE entry in the OEM data base
492 * 3 no active entry
501 sel_id = -1 ; in set_oi_id_def()
503 smc->hw.oem_id = 0 ; in set_oi_id_def()
504 smc->hw.oem_min_status = OI_STAT_ACTIVE ; in set_oi_id_def()
510 act_entries = TRUE ; /* we have active IDs */ in set_oi_id_def()
511 if (sel_id == -1) in set_oi_id_def()
512 sel_id = i ; /* save the first active ID */ in set_oi_id_def()
527 /* ok, we have a valid OEM data base with an active entry */ in set_oi_id_def()
528 smc->hw.oem_id = (struct s_oem_ids *) &oem_ids[sel_id] ; in set_oi_id_def()
538 bia_addr->a[i] = bitrev8(smc->hw.fddi_phys_addr.a[i]); in driver_get_bia()
548 if (smc->hw.wdog_used) { in smt_start_watchdog()
562 if (smc->hw.wdog_used) { in smt_stop_watchdog()