summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/b53/b53_srab.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-09-05 12:42:13 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-06 07:48:34 -0700
commit5e004460f874fa590e622b200859e419f5127f5c (patch)
tree6fa9c0674b96fe2861b3a84255865a00604e7d74 /drivers/net/dsa/b53/b53_srab.c
parent16994374a6fc6a620aae199243c34ccb9efa0ac7 (diff)
net: dsa: b53: Add helper to set link parameters
Extract the logic from b53_adjust_link() responsible for overriding a given port's link, speed, duplex and pause settings and make two helper functions to set the port's configuration and the port's link settings. We will make use of both, as separate functions while adding PHYLINK support next. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/b53/b53_srab.c')
0 files changed, 0 insertions, 0 deletions