]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: dsa: Allow configuration of CPU & DSA port speeds/duplex
authorAndrew Lunn <andrew@lunn.ch>
Mon, 31 Aug 2015 13:56:49 +0000 (15:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 21:48:02 +0000 (14:48 -0700)
commit39b0c705195e9409dc8a40cc82b11d81405a4a4b
tree8c25a7a4b8bd5067aa5a270ff3049d88a12febb0
parent34b31da486a5e4eda9ff548ebf6dc3adc167bd0c
net: dsa: Allow configuration of CPU & DSA port speeds/duplex

By default, DSA and CPU ports are configured to the maximum speed the
switch supports. However there can be use cases where the peer devices
port is slower. Allow a fixed-link property to be used with the DSA
and CPU port in the device tree, and use this information to configure
the port.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c