Marco Hartmann
94acaeb50c
Add genphy_c45_config_aneg() function to phy-c45.c
...
Commit 34786005ec ("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: 22b56e8270 ("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-08-22 10:47:41 +02:00
2019-07-17 09:55:43 -07:00
2019-07-28 12:44:14 +02:00
2019-07-13 14:40:42 -07:00
2019-07-15 20:18:40 -07:00
2019-08-08 13:01:19 -07:00
2019-07-13 15:42:44 -07:00
2019-08-19 13:59:57 +02:00
2019-07-13 15:02:27 -07:00
2019-07-19 17:13:56 -07:00
2019-07-25 15:37:04 +02:00
2019-07-19 17:13:56 -07:00
2019-08-26 15:31:29 -04:00
2019-08-15 15:18:05 +02:00
2019-07-18 09:12:34 -07:00
2019-07-16 19:23:22 -07:00
2019-08-15 11:09:16 -06:00
2019-07-16 10:06:39 -06:00
2019-07-11 20:04:40 -06:00
2019-08-09 09:17:05 -07:00
2019-07-15 11:03:02 -03:00
2019-07-15 21:20:52 -07:00
2019-07-12 11:11:30 -07:00
2019-07-22 14:32:20 -07:00
2019-07-16 19:23:23 -07:00
2019-07-16 19:23:24 -07:00
2019-07-18 21:01:06 +02:00
2019-07-18 21:01:06 +02:00
2019-07-21 13:31:14 -07:00
2019-07-18 09:49:30 +02:00
2019-07-12 12:24:03 -07:00
2019-07-24 10:12:09 -07:00
2019-07-19 10:42:02 -07:00
2019-07-18 14:49:33 -07:00
2019-07-27 08:25:51 -07:00
2019-07-25 11:34:39 -07:00
2019-07-15 19:04:27 -07:00
2019-08-21 07:14:10 +09:00
2019-07-16 22:15:46 +02:00
2019-07-23 17:43:58 +02:00
2019-08-10 19:52:45 +02:00
2019-07-17 09:55:43 -07:00
2019-07-12 11:05:41 -07:00
2019-07-23 07:25:09 -06:00
2019-07-23 13:59:33 -07:00
2019-07-19 10:42:02 -07:00
2019-07-16 22:52:37 -04:00
2019-07-30 13:16:57 -06:00
2019-07-12 15:13:55 -07:00
2019-08-13 16:06:52 -07:00
2019-08-14 10:57:18 +02:00
2019-07-25 16:14:39 -03:00
2019-07-18 17:08:06 -07:00
2019-07-12 11:05:45 -07:00
2019-07-15 11:03:02 -03:00
2019-07-30 14:42:13 -07:00
2019-07-26 14:20:06 -07:00
2019-07-15 11:42:31 +02:00
2019-07-16 19:23:22 -07:00
2019-07-17 07:21:02 -07:00
2019-07-14 19:42:11 -07:00
2019-07-23 09:51:00 +02:00
2019-07-12 11:05:42 -07:00
2019-07-12 11:05:42 -07:00
2019-07-16 19:23:21 -07:00
2019-08-19 09:43:57 -07:00
2019-07-16 19:23:22 -07:00
2019-08-05 12:55:49 +02:00
2019-07-15 08:53:27 -03:00
2019-07-16 19:23:24 -07:00
2019-08-13 16:06:52 -07:00
2019-07-18 17:08:07 -07:00
2019-07-18 17:08:07 -07:00
2019-08-13 16:06:52 -07:00
2019-07-18 17:08:07 -07:00
2019-08-13 16:06:52 -07:00
2019-07-18 17:08:07 -07:00
2019-07-18 17:08:07 -07:00
2019-07-25 20:12:38 +03:00
2019-07-15 08:53:27 -03:00
2019-07-18 15:50:28 -04:00
2019-07-18 17:08:06 -07:00
2019-07-26 17:01:29 -06:00
2019-07-12 11:05:47 -07:00
2019-07-12 11:05:43 -07:00
2019-08-03 07:02:01 -07:00
2019-08-01 06:39:33 +02:00
2019-07-12 11:05:43 -07:00
2019-07-12 11:05:43 -07:00
2019-07-17 09:55:43 -07:00
2019-08-12 10:47:55 +02:00
2019-07-13 11:21:28 +02:00
2019-07-16 19:23:25 -07:00
2019-08-27 20:21:15 -07:00
2019-07-16 19:23:24 -07:00
2019-07-15 11:03:02 -03:00
2019-07-15 20:44:49 -07:00
2019-07-16 19:23:22 -07:00
2019-07-15 21:06:15 -07:00
2019-07-16 19:23:22 -07:00
2019-07-16 19:23:22 -07:00
2019-07-15 08:53:27 -03:00
2019-07-25 15:37:05 +02:00
2019-07-15 11:03:03 -03:00
2019-08-19 06:34:13 -05:00
2019-08-08 22:39:35 -07:00
2019-07-22 16:04:17 +02:00
2019-07-12 11:05:44 -07:00
2019-08-08 22:39:35 -07:00
2019-07-12 11:05:43 -07:00
2019-07-16 19:23:21 -07:00
2019-07-19 10:42:02 -07:00
2019-07-18 17:08:07 -07:00
2019-08-23 02:12:11 +02:00
2019-07-16 15:14:48 -04:00
2019-07-16 19:23:24 -07:00
2019-07-13 10:36:53 -07:00
2019-08-15 15:18:05 +02:00
2019-07-12 11:05:47 -07:00
2019-07-12 11:05:43 -07:00
2019-07-18 10:20:13 -06:00
2019-07-14 16:51:47 -07:00