forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/fddi/skfp/h/cmtdef.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /******************************************************************************
23 *
34 * (C)Copyright 1998,1999 SysKonnect,
45 * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 *
117 * The information in this file is provided "AS IS" without warranty.
128 *
....@@ -513,7 +509,6 @@
513509 void plc_config_mux(struct s_smc *smc, int mux);
514510 void sm_lem_evaluate(struct s_smc *smc);
515511 void mac_update_counter(struct s_smc *smc);
516
-void sm_pm_ls_latch(struct s_smc *smc, int phy, int on_off);
517512 void sm_ma_control(struct s_smc *smc, int mode);
518513 void sm_mac_check_beacon_claim(struct s_smc *smc);
519514 void config_mux(struct s_smc *smc, int mux);
....@@ -645,7 +640,6 @@
645640 #define dump_smt(smc,sm,text)
646641 #endif
647642
648
-char* addr_to_string(struct fddi_addr *addr);
649643 #ifdef DEBUG
650644 void dump_hex(char *p, int len);
651645 #endif
....@@ -655,14 +649,6 @@
655649 /* PNMI default defines */
656650 #ifndef PNMI_INIT
657651 #define PNMI_INIT(smc) /* Nothing */
658
-#endif
659
-#ifndef PNMI_GET_ID
660
-#define PNMI_GET_ID( smc, ndis_oid, buf, len, BytesWritten, BytesNeeded ) \
661
- ( 1 ? (-1) : (-1) )
662
-#endif
663
-#ifndef PNMI_SET_ID
664
-#define PNMI_SET_ID( smc, ndis_oid, buf, len, BytesRead, BytesNeeded, \
665
- set_type) ( 1 ? (-1) : (-1) )
666652 #endif
667653
668654 /*