summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-02-09 14:12:05 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-04-02 19:45:26 +0100
commitcc42d6b1e9c71b106271ea92330c32cc44cda740 (patch)
tree85cb7b402b9f9621c6d9d188c63cf9660e2b2748 /samples
parentaf9216139c634539cfeaddc000b757c0a482a45a (diff)
net: dsa: mv88e6xxx: fix Serdes link changes
phylink_mac_change() is supposed to be called with a 'false' argument if the link has gone down since it was last reported up; this is to ensure that link events along with renegotiation events are always correctly reported to userspace. Read the BMSR once when we have an interrupt, and report the link latched status to phylink via phylink_mac_change(). phylink will deal automatically with re-reading the link state once it has processed the link-down event. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions