hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/net/phy/teranetics.c
....@@ -1,13 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * Driver for Teranetics PHY
34 *
45 * Author: Shaohui Xie <Shaohui.Xie@freescale.com>
56 *
67 * Copyright 2015 Freescale Semiconductor, Inc.
7
- *
8
- * This file is licensed under the terms of the GNU General Public License
9
- * version 2. This program is licensed "as is" without any warranty of any
10
- * kind, whether express or implied.
118 */
129
1310 #include <linux/kernel.h>
....@@ -80,9 +77,8 @@
8077 .phy_id = PHY_ID_TN2020,
8178 .phy_id_mask = 0xffffffff,
8279 .name = "Teranetics TN2020",
83
- .soft_reset = gen10g_no_soft_reset,
80
+ .features = PHY_10GBIT_FEATURES,
8481 .aneg_done = teranetics_aneg_done,
85
- .config_init = gen10g_config_init,
8682 .config_aneg = gen10g_config_aneg,
8783 .read_status = teranetics_read_status,
8884 .match_phy_device = teranetics_match_phy_device,