6672bbe8a26c834343ac4a5ccdcbf026c985edf5
[openwrt/openwrt.git] / target / linux / generic / patches-4.9 / 704-phy-no-genphy-soft-reset.patch
1 --- a/drivers/net/phy/phy_device.c
2 +++ b/drivers/net/phy/phy_device.c
3 @@ -1485,7 +1485,7 @@ int genphy_config_init(struct phy_device
4 return 0;
5 }
6
7 -static int gen10g_soft_reset(struct phy_device *phydev)
8 +static int no_soft_reset(struct phy_device *phydev)
9 {
10 /* Do nothing for now */
11 return 0;
12 @@ -1724,7 +1724,7 @@ static struct phy_driver genphy_driver[]
13 .phy_id = 0xffffffff,
14 .phy_id_mask = 0xffffffff,
15 .name = "Generic PHY",
16 - .soft_reset = genphy_soft_reset,
17 + .soft_reset = no_soft_reset,
18 .config_init = genphy_config_init,
19 .features = PHY_GBIT_FEATURES | SUPPORTED_MII |
20 SUPPORTED_AUI | SUPPORTED_FIBRE |
21 @@ -1738,7 +1738,7 @@ static struct phy_driver genphy_driver[]
22 .phy_id = 0xffffffff,
23 .phy_id_mask = 0xffffffff,
24 .name = "Generic 10G PHY",
25 - .soft_reset = gen10g_soft_reset,
26 + .soft_reset = no_soft_reset,
27 .config_init = gen10g_config_init,
28 .features = 0,
29 .config_aneg = gen10g_config_aneg,