commit | 981015ac60dc5e073081e17a46189ebcfffeea19 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Jun 30 11:28:18 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 30 13:05:10 2020 -0700 |
tree | 45f5d004b8721f097729b0b2d6e674ddaccfdba6 | |
parent | 50cc2020a8055491534929abccda5047731f24b8 [diff] |
net: dsa/bcm_sf2: move pause mode setting into mac_link_up() bcm_sf2 only appears to support pause modes on RGMII interfaces (the enable bits are in the RGMII control register.) Setup the pause modes for RGMII connections. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>