hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/net/phy/davicom.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * drivers/net/phy/davicom.c
34 *
....@@ -6,12 +7,6 @@
67 * Author: Andy Fleming
78 *
89 * Copyright (c) 2004 Freescale Semiconductor, Inc.
9
- *
10
- * This program is free software; you can redistribute it and/or modify it
11
- * under the terms of the GNU General Public License as published by the
12
- * Free Software Foundation; either version 2 of the License, or (at your
13
- * option) any later version.
14
- *
1510 */
1611 #include <linux/kernel.h>
1712 #include <linux/string.h>
....@@ -149,8 +144,7 @@
149144 .phy_id = 0x0181b880,
150145 .name = "Davicom DM9161E",
151146 .phy_id_mask = 0x0ffffff0,
152
- .features = PHY_BASIC_FEATURES,
153
- .flags = PHY_HAS_INTERRUPT,
147
+ /* PHY_BASIC_FEATURES */
154148 .config_init = dm9161_config_init,
155149 .config_aneg = dm9161_config_aneg,
156150 .ack_interrupt = dm9161_ack_interrupt,
....@@ -159,8 +153,7 @@
159153 .phy_id = 0x0181b8b0,
160154 .name = "Davicom DM9161B/C",
161155 .phy_id_mask = 0x0ffffff0,
162
- .features = PHY_BASIC_FEATURES,
163
- .flags = PHY_HAS_INTERRUPT,
156
+ /* PHY_BASIC_FEATURES */
164157 .config_init = dm9161_config_init,
165158 .config_aneg = dm9161_config_aneg,
166159 .ack_interrupt = dm9161_ack_interrupt,
....@@ -169,8 +162,7 @@
169162 .phy_id = 0x0181b8a0,
170163 .name = "Davicom DM9161A",
171164 .phy_id_mask = 0x0ffffff0,
172
- .features = PHY_BASIC_FEATURES,
173
- .flags = PHY_HAS_INTERRUPT,
165
+ /* PHY_BASIC_FEATURES */
174166 .config_init = dm9161_config_init,
175167 .config_aneg = dm9161_config_aneg,
176168 .ack_interrupt = dm9161_ack_interrupt,
....@@ -179,8 +171,7 @@
179171 .phy_id = 0x00181b80,
180172 .name = "Davicom DM9131",
181173 .phy_id_mask = 0x0ffffff0,
182
- .features = PHY_BASIC_FEATURES,
183
- .flags = PHY_HAS_INTERRUPT,
174
+ /* PHY_BASIC_FEATURES */
184175 .ack_interrupt = dm9161_ack_interrupt,
185176 .config_intr = dm9161_config_intr,
186177 } };