Marco Hartmann
94acaeb50c
Add genphy_c45_config_aneg() function to phy-c45.c
...
Commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from calling
genphy_config_aneg") introduced a check that aborts phy_config_aneg()
if the phy is a C45 phy.
This causes phy_state_machine() to call phy_error() so that the phy
ends up in PHY_HALTED state.
Instead of returning -EOPNOTSUPP, call genphy_c45_config_aneg()
(analogous to the C22 case) so that the state machine can run
correctly.
genphy_c45_config_aneg() closely resembles mv3310_config_aneg()
in drivers/net/phy/marvell10g.c, excluding vendor specific
configurations for 1000BaseT.
Fixes: 22b56e827093 ("net: phy: replace genphy_10g_driver with genphy_c45_driver")
Signed-off-by: Marco Hartmann <marco.hartmann@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-27 20:21:15 -07:00
..
2019-04-15 17:19:54 -07:00
2019-02-25 14:16:22 -08:00
2019-05-24 13:39:34 -07:00
2019-02-25 14:16:22 -08:00
2019-08-12 14:02:29 -07:00
2019-06-09 13:24:17 -07:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2019-05-26 21:56:41 -07:00
2019-04-15 17:19:54 -07:00
2019-03-21 13:41:26 -07:00
2019-03-21 13:41:26 -07:00
2019-06-09 20:05:19 -07:00
2019-04-15 17:19:54 -07:00
2019-03-03 21:47:57 -08:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2017-11-02 11:10:55 +01:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2019-05-31 10:49:43 -07:00
2019-04-15 17:19:54 -07:00
2019-07-30 09:54:45 -07:00
2019-04-15 17:19:54 -07:00
2019-04-15 17:19:54 -07:00
2019-06-17 20:20:36 -07:00
2019-05-23 09:19:21 -07:00
2019-06-17 20:20:36 -07:00
2019-05-29 14:25:10 -07:00
2019-05-02 22:14:21 -04:00
2019-04-18 17:42:54 -07:00
2019-04-18 17:42:54 -07:00
2019-01-22 20:53:08 -08:00
2019-03-27 14:27:30 -07:00
2019-01-22 20:58:40 -08:00
2019-01-22 20:53:08 -08:00
2017-11-02 11:10:55 +01:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:58:40 -08:00
2019-01-22 20:57:03 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:58:40 -08:00
2018-05-16 14:20:36 -04:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:59:18 -08:00
2019-05-13 09:12:19 -07:00
2019-01-22 20:53:08 -08:00
2019-02-27 12:52:20 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:58:40 -08:00
2019-01-22 20:59:18 -08:00
2019-01-22 20:53:08 -08:00
2019-01-22 20:53:08 -08:00
2019-04-15 17:19:54 -07:00
2019-04-29 23:17:21 -04:00
2018-11-11 09:36:56 -08:00
2019-04-15 17:19:54 -07:00
2019-07-24 15:25:44 -07:00
2019-04-15 17:19:54 -07:00
2019-05-29 22:02:18 -07:00
2019-08-13 19:49:01 -07:00
2019-07-31 18:56:11 -04:00
2019-08-27 20:21:15 -07:00
2019-05-22 17:46:28 -07:00
2019-08-27 20:21:15 -07:00
2019-07-27 14:27:51 -07:00
2019-04-15 17:19:54 -07:00
2019-05-13 09:10:39 -07:00
2019-04-15 17:19:54 -07:00
2019-05-31 12:37:46 -07:00
2019-07-21 11:51:50 -07:00
2019-02-08 15:11:25 -08:00
2019-04-15 17:19:54 -07:00
2019-04-23 10:44:44 -07:00
2019-04-15 17:19:54 -07:00
2019-02-24 22:28:15 -08:00
2017-11-02 11:10:55 +01:00
2019-03-03 21:47:57 -08:00
2019-04-15 17:19:54 -07:00
2019-04-23 10:47:58 -07:00
2019-02-20 00:34:07 -08:00