8e53e0e6396fb9c06f1c632a1cb5cd2cf85345bb
[openwrt/staging/blogic.git] /
1 From d44fd8604a4ab92119adb35f05fd87612af722b5 Mon Sep 17 00:00:00 2001
2 From: Ansuel Smith <ansuelsmth@gmail.com>
3 Date: Sun, 19 Sep 2021 18:28:17 +0200
4 Subject: net: phy: at803x: fix spacing and improve name for 83xx phy
5
6 Fix spacing and improve name for 83xx phy following other phy in the
7 same driver.
8
9 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
10 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
11 Signed-off-by: David S. Miller <davem@davemloft.net>
12 ---
13 drivers/net/phy/at803x.c | 60 ++++++++++++++++++++++++------------------------
14 1 file changed, 30 insertions(+), 30 deletions(-)
15
16 --- a/drivers/net/phy/at803x.c
17 +++ b/drivers/net/phy/at803x.c
18 @@ -1346,47 +1346,47 @@ static struct phy_driver at803x_driver[]
19 .config_aneg = at803x_config_aneg,
20 }, {
21 /* QCA8337 */
22 - .phy_id = QCA8337_PHY_ID,
23 - .phy_id_mask = QCA8K_PHY_ID_MASK,
24 - .name = "QCA PHY 8337",
25 + .phy_id = QCA8337_PHY_ID,
26 + .phy_id_mask = QCA8K_PHY_ID_MASK,
27 + .name = "Qualcomm Atheros 8337 internal PHY",
28 /* PHY_GBIT_FEATURES */
29 - .probe = at803x_probe,
30 - .flags = PHY_IS_INTERNAL,
31 - .config_init = qca83xx_config_init,
32 - .soft_reset = genphy_soft_reset,
33 - .get_sset_count = at803x_get_sset_count,
34 - .get_strings = at803x_get_strings,
35 - .get_stats = at803x_get_stats,
36 + .probe = at803x_probe,
37 + .flags = PHY_IS_INTERNAL,
38 + .config_init = qca83xx_config_init,
39 + .soft_reset = genphy_soft_reset,
40 + .get_sset_count = at803x_get_sset_count,
41 + .get_strings = at803x_get_strings,
42 + .get_stats = at803x_get_stats,
43 .suspend = genphy_suspend,
44 .resume = genphy_resume,
45 }, {
46 /* QCA8327-A from switch QCA8327-AL1A */
47 - .phy_id = QCA8327_A_PHY_ID,
48 - .phy_id_mask = QCA8K_PHY_ID_MASK,
49 - .name = "QCA PHY 8327-A",
50 + .phy_id = QCA8327_A_PHY_ID,
51 + .phy_id_mask = QCA8K_PHY_ID_MASK,
52 + .name = "Qualcomm Atheros 8327-A internal PHY",
53 /* PHY_GBIT_FEATURES */
54 - .probe = at803x_probe,
55 - .flags = PHY_IS_INTERNAL,
56 - .config_init = qca83xx_config_init,
57 - .soft_reset = genphy_soft_reset,
58 - .get_sset_count = at803x_get_sset_count,
59 - .get_strings = at803x_get_strings,
60 - .get_stats = at803x_get_stats,
61 + .probe = at803x_probe,
62 + .flags = PHY_IS_INTERNAL,
63 + .config_init = qca83xx_config_init,
64 + .soft_reset = genphy_soft_reset,
65 + .get_sset_count = at803x_get_sset_count,
66 + .get_strings = at803x_get_strings,
67 + .get_stats = at803x_get_stats,
68 .suspend = genphy_suspend,
69 .resume = genphy_resume,
70 }, {
71 /* QCA8327-B from switch QCA8327-BL1A */
72 - .phy_id = QCA8327_B_PHY_ID,
73 - .phy_id_mask = QCA8K_PHY_ID_MASK,
74 - .name = "QCA PHY 8327-B",
75 + .phy_id = QCA8327_B_PHY_ID,
76 + .phy_id_mask = QCA8K_PHY_ID_MASK,
77 + .name = "Qualcomm Atheros 8327-B internal PHY",
78 /* PHY_GBIT_FEATURES */
79 - .probe = at803x_probe,
80 - .flags = PHY_IS_INTERNAL,
81 - .config_init = qca83xx_config_init,
82 - .soft_reset = genphy_soft_reset,
83 - .get_sset_count = at803x_get_sset_count,
84 - .get_strings = at803x_get_strings,
85 - .get_stats = at803x_get_stats,
86 + .probe = at803x_probe,
87 + .flags = PHY_IS_INTERNAL,
88 + .config_init = qca83xx_config_init,
89 + .soft_reset = genphy_soft_reset,
90 + .get_sset_count = at803x_get_sset_count,
91 + .get_strings = at803x_get_strings,
92 + .get_stats = at803x_get_stats,
93 .suspend = genphy_suspend,
94 .resume = genphy_resume,
95 }, };