aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/net_failover.c
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-06-28 00:46:36 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-28 09:31:31 -0700
commit39710229af9b6b69b858b36fe97d9239af0afe78 (patch)
tree31e1d3db577ee1b1a1336696ce1d410506d491db /drivers/net/net_failover.c
parentnet: dsa: sja1105: Don't check state->link in phylink_mac_config (diff)
downloadlinux-dev-39710229af9b6b69b858b36fe97d9239af0afe78.tar.xz
linux-dev-39710229af9b6b69b858b36fe97d9239af0afe78.zip
net: dsa: sja1105: Check for PHY mode mismatches with what PHYLINK reports
PHYLINK being designed with PHYs in mind that can change MII protocol, for correct operation it is necessary to ensure that the PHY interface mode stays the same (otherwise clear the supported bit mask, as required). Because this is just a hypothetical situation for now, we don't bother to check whether we could actually support the new PHY interface mode. Actually we could modify the xMII table, reset the switch and send an updated static configuration, but adding that would just be dead code. Cc: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/net_failover.c')
0 files changed, 0 insertions, 0 deletions