| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* $Id: lmc_media.c,v 1.13 2000/04/11 05:25:26 asj Exp $ */ |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 37 | 38 | * Rob Braun (bbraun@vix.com), |
|---|
| 38 | 39 | * Michael Graff (explorer@vix.com) and |
|---|
| 39 | 40 | * Matt Thomas (matt@3am-software.com). |
|---|
| 40 | | - * |
|---|
| 41 | | - * This software may be used and distributed according to the terms |
|---|
| 42 | | - * of the GNU General Public License version 2, incorporated herein by reference. |
|---|
| 43 | 41 | */ |
|---|
| 44 | 42 | |
|---|
| 45 | 43 | /* |
|---|
| .. | .. |
|---|
| 1028 | 1026 | * led3 red = Loss of Signal (LOS) or out of frame (OOF) |
|---|
| 1029 | 1027 | * conditions detected on T3 receive signal |
|---|
| 1030 | 1028 | */ |
|---|
| 1031 | | - lmc_trace(sc->lmc_device, "lmc_t1_get_link_status in"); |
|---|
| 1032 | 1029 | lmc_led_on(sc, LMC_DS3_LED2); |
|---|
| 1033 | 1030 | |
|---|
| 1034 | 1031 | lmc_mii_writereg (sc, 0, 17, T1FRAMER_ALARM1_STATUS); |
|---|
| .. | .. |
|---|
| 1121 | 1118 | |
|---|
| 1122 | 1119 | lmc_mii_writereg (sc, 0, 17, T1FRAMER_ALARM2_STATUS); |
|---|
| 1123 | 1120 | sc->lmc_xinfo.t1_alarm2_status = lmc_mii_readreg (sc, 0, 18); |
|---|
| 1124 | | - |
|---|
| 1125 | | - |
|---|
| 1126 | | - lmc_trace(sc->lmc_device, "lmc_t1_get_link_status out"); |
|---|
| 1127 | 1121 | |
|---|
| 1128 | 1122 | return ret; |
|---|
| 1129 | 1123 | } |
|---|