diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-28 16:11:27 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-30 21:37:58 +0100 |
commit | 0df5a546d811b7c2dcd6be76655b4658f2b776f6 (patch) | |
tree | 2cfad1d645b596c0ea4271beffe58cf70495ecd4 /drivers/net/dsa/sja1105/sja1105_main.c | |
parent | fca5a7db693c72590fe44e2dcd40f13b52cfa975 (diff) |
net: phylink: propagate resolved link config via mac_link_up()
Propagate the resolved link parameters via the mac_link_up() call for
MACs that do not automatically track their PCS state. We propagate the
link parameters via function arguments so that inappropriate members
of struct phylink_link_state can't be accessed, and creating a new
structure just for this adds needless complexity to the API.
Tested-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_main.c')
0 files changed, 0 insertions, 0 deletions