hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/net/phy/ste10Xp.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0+
12 /*
23 * drivers/net/phy/ste10Xp.c
34 *
....@@ -6,12 +7,6 @@
67 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
78 *
89 * Copyright (c) 2008 STMicroelectronics Limited
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
1712 #include <linux/module.h>
....@@ -86,8 +81,7 @@
8681 .phy_id = STE101P_PHY_ID,
8782 .phy_id_mask = 0xfffffff0,
8883 .name = "STe101p",
89
- .features = PHY_BASIC_FEATURES | SUPPORTED_Pause,
90
- .flags = PHY_HAS_INTERRUPT,
84
+ /* PHY_BASIC_FEATURES */
9185 .config_init = ste10Xp_config_init,
9286 .ack_interrupt = ste10Xp_ack_interrupt,
9387 .config_intr = ste10Xp_config_intr,
....@@ -97,8 +91,7 @@
9791 .phy_id = STE100P_PHY_ID,
9892 .phy_id_mask = 0xffffffff,
9993 .name = "STe100p",
100
- .features = PHY_BASIC_FEATURES | SUPPORTED_Pause,
101
- .flags = PHY_HAS_INTERRUPT,
94
+ /* PHY_BASIC_FEATURES */
10295 .config_init = ste10Xp_config_init,
10396 .ack_interrupt = ste10Xp_ack_interrupt,
10497 .config_intr = ste10Xp_config_intr,