From: Andrew Lunn Date: Fri, 24 Oct 2014 21:44:05 +0000 (+0200) Subject: dsa: mv88e6171: Fix tagging protocol/Kconfig X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~31^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c146b7788e5721ec15bc0197bedf75849508e7ea;p=pandora-kernel.git dsa: mv88e6171: Fix tagging protocol/Kconfig The mv88e6171 can support two different tagging protocols, DSA and EDSA. The switch driver structure only allows one protocol to be enumerated, and DSA was chosen. However the Kconfig entry ensures the EDSA tagging code is built. With a minimal configuration, we then end up with a mismatch. The probe is successful, EDSA tagging is used, but the switch is configured for DSA, resulting in mangled packets. Change the switch driver structure to enumerate EDSA, fixing the mismatch. Signed-off-by: Andrew Lunn Fixes: 42f272539487 ("net: DSA: Marvell mv88e6171 switch driver") Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed