diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-02-26 11:23:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-27 21:02:14 +0100 |
commit | 5b502a7b2992008a1fd5962ba032771b03c4e840 (patch) | |
tree | 7d135db5835c363e3b3d199a156506985c174ea4 /drivers/net/dsa/mt7530.c | |
parent | net: phylink: propagate resolved link config via mac_link_up() (diff) | |
download | linux-5b502a7b2992008a1fd5962ba032771b03c4e840.tar.xz linux-5b502a7b2992008a1fd5962ba032771b03c4e840.zip |
net: dsa: propagate resolved link config via mac_link_up()
Propagate the resolved link configuration down via DSA's
phylink_mac_link_up() operation to allow split PCS/MAC to work.
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mt7530.c')
-rw-r--r-- | drivers/net/dsa/mt7530.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index 022466ca1c19..86818ab3bb07 100644 --- a/drivers/net/dsa/mt7530.c +++ b/drivers/net/dsa/mt7530.c @@ -1482,7 +1482,9 @@ static void mt7530_phylink_mac_link_down(struct dsa_switch *ds, int port, static void mt7530_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, - struct phy_device *phydev) + struct phy_device *phydev, + int speed, int duplex, + bool tx_pause, bool rx_pause) { struct mt7530_priv *priv = ds->priv; |