Florian Fainelli
2131fba531
net: dsa: Deal with non-existing PHY/fixed-link
...
We need to specifically deal with phylink_of_phy_connect() returning
-ENODEV, because this can happen when a CPU/DSA port does connect
neither to a PHY, nor has a fixed-link property. This is a valid use
case that is permitted by the binding and indicates to the switch:
auto-configure port with maximum capabilities.
Fixes: 0e27921816 ("net: dsa: Use PHYLINK for the CPU/DSA ports")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com >
Reviewed-by: Andrew Lunn <andrew@lunn.ch >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-06-12 11:01:20 -07:00
..
2019-05-30 11:26:41 -07:00
2019-05-30 11:29:21 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-09 09:44:17 -07:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:29:53 -07:00
2019-05-21 10:50:46 +02:00
2019-06-07 11:00:14 -07:00
2019-05-30 11:29:22 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-06-09 19:40:10 -07:00
2019-05-30 11:29:52 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:36:42 +02:00
2019-05-21 10:50:46 +02:00
2019-06-12 11:01:20 -07:00
2019-06-07 11:00:14 -07:00
2019-05-23 09:29:44 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:46 +02:00
2019-06-10 10:44:57 -07:00
2019-06-10 10:44:57 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:46 +02:00
2019-06-09 19:56:42 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-24 17:27:12 +02:00
2019-05-28 17:25:23 -07:00
2019-06-02 18:08:36 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 11:28:45 +02:00
2019-06-11 11:55:48 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 11:28:45 +02:00
2019-05-21 10:50:46 +02:00
2019-06-11 11:56:33 -07:00
2019-06-11 12:11:11 -07:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:46 +02:00
2019-05-22 08:28:16 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 11:28:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-12 09:28:05 -07:00
2019-06-07 11:00:14 -07:00
2019-06-02 18:06:26 -07:00
2019-06-04 14:33:50 -07:00
2019-05-30 15:29:41 -04:00
2019-05-30 11:26:32 -07:00
2019-05-22 08:28:16 -07:00
2019-06-11 12:22:27 -07:00
2019-06-07 11:00:14 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:27:12 +02:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:46 +02:00
2019-02-28 08:24:23 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:45 +02:00