summaryrefslogtreecommitdiff
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-02-16 18:16:52 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-10-12 21:52:14 +0100
commitab2e5046153fad0d9be339e86ca3ae90f7e1dbc5 (patch)
treebfe4bddebb662512c2ef39227f71666e9b4280da /include/net/dsa.h
parent4be1dde456950e0bd9dee43648c0132d89abe1d0 (diff)
net: dsa: mv88e6xxx: split out SPEED_MAX setting
Currently, all the device specific speed setting functions convert SPEED_MAX to the actual speed of the port. This is used to default CPU and DSA interfaces which do not have a fixed-link specification in DT, which doesn't work correctly with the phylink integration. In order to resolve this, we need access to this value, so make this a separate function, and update mv88e6xxx_port_setup_mac() to use it. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions