| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /****************************************************************************** |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * (C)Copyright 1998,1999 SysKonnect, |
|---|
| 4 | 5 | * a business unit of Schneider & Koch & Co. Datensysteme GmbH. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * See the file "skfddi.c" for further information. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 10 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 11 | | - * (at your option) any later version. |
|---|
| 12 | 8 | * |
|---|
| 13 | 9 | * The information in this file is provided "AS IS" without warranty. |
|---|
| 14 | 10 | * |
|---|
| .. | .. |
|---|
| 30 | 26 | * The following external HW dependent functions are referenced : |
|---|
| 31 | 27 | * sm_pm_control() |
|---|
| 32 | 28 | * sm_ph_linestate() |
|---|
| 33 | | - * sm_pm_ls_latch() |
|---|
| 34 | 29 | * |
|---|
| 35 | 30 | * The following HW dependent events are required : |
|---|
| 36 | 31 | * PC_QLS |
|---|
| .. | .. |
|---|
| 852 | 847 | |
|---|
| 853 | 848 | case ACTIONS(PC5_SIGNAL) : |
|---|
| 854 | 849 | ACTIONS_DONE() ; |
|---|
| 850 | + fallthrough; |
|---|
| 855 | 851 | case PC5_SIGNAL : |
|---|
| 856 | 852 | if ((cmd != PC_SIGNAL) && (cmd != PC_TIMEOUT_LCT)) |
|---|
| 857 | 853 | break ; |
|---|
| .. | .. |
|---|
| 950 | 946 | SETMASK(PLC(np,PL_CNTRL_B),PL_PC_JOIN,PL_PC_JOIN) ; |
|---|
| 951 | 947 | ACTIONS_DONE() ; |
|---|
| 952 | 948 | cmd = 0 ; |
|---|
| 953 | | - /* fall thru */ |
|---|
| 949 | + fallthrough; |
|---|
| 954 | 950 | case PC6_JOIN : |
|---|
| 955 | 951 | switch (plc->p_state) { |
|---|
| 956 | 952 | case PS_ACTIVE: |
|---|
| .. | .. |
|---|
| 1247 | 1243 | lem->lem_on = 0 ; |
|---|
| 1248 | 1244 | CLEAR(PLC(np,PL_INTR_MASK),PL_LE_CTR) ; |
|---|
| 1249 | 1245 | } |
|---|
| 1250 | | - |
|---|
| 1251 | | -/* ARGSUSED */ |
|---|
| 1252 | | -void sm_pm_ls_latch(struct s_smc *smc, int phy, int on_off) |
|---|
| 1253 | | -/* int on_off; en- or disable ident. ls */ |
|---|
| 1254 | | -{ |
|---|
| 1255 | | - SK_UNUSED(smc) ; |
|---|
| 1256 | | - |
|---|
| 1257 | | - phy = phy ; on_off = on_off ; |
|---|
| 1258 | | -} |
|---|
| 1259 | | - |
|---|
| 1260 | 1246 | |
|---|
| 1261 | 1247 | /* |
|---|
| 1262 | 1248 | * PCM pseudo code |
|---|