aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/eisa
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-06-28 00:46:35 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-28 09:31:31 -0700
commita979a0ab3687f701ef3a8223cbb56ce993a767fb (patch)
treef8cfa74e5a0fb8a1b249e9ef37e5286096df2bc0 /drivers/eisa
parenthinic: reduce rss_init stack usage (diff)
downloadlinux-dev-a979a0ab3687f701ef3a8223cbb56ce993a767fb.tar.xz
linux-dev-a979a0ab3687f701ef3a8223cbb56ce993a767fb.zip
net: dsa: sja1105: Don't check state->link in phylink_mac_config
It has been pointed out that PHYLINK can call mac_config only to update the phy_interface_type and without knowing what the AN results are. Experimentally, when this was observed to happen, state->link was also unset, and therefore was used as a proxy to ignore this call. However it is also suggested that state->link is undefined for this callback and should not be relied upon. So let the previously-dead codepath for SPEED_UNKNOWN be called, and update the comment to make sure the MAC's behavior is sane. 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/eisa')
0 files changed, 0 insertions, 0 deletions