]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dsa: mv88e6xxx: Set DSA mode based on chip abilities
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Aug 2015 21:52:52 +0000 (23:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 21:17:21 +0000 (14:17 -0700)
commit6083ce715f09568a8b0996ca15ae31aaa94f081f
treea53b3e93d050209bcee495e6c617ec8de69bd9b6
parent60045cbfc0b291dae8dd5b929d67b87c5ea954d4
dsa: mv88e6xxx: Set DSA mode based on chip abilities

Older devices only support a single DSA frame format, where as newer
devices have two. Take this into account when configuring a DSA port.
The port needs to be in plain old DSA mode, since this is a DSA link,
where as the newer format can be used for the CPU port.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c