linux-sg2042/drivers/net/dsa
Andrew Lunn c146b7788e 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 <andrew@lunn.ch>
Fixes: 42f2725394 ("net: DSA: Marvell mv88e6171 switch driver")
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-28 15:27:54 -04:00
..
Kconfig drivers/net/dsa/Kconfig: Let NET_DSA_BCM_SF2 depend on HAS_IOMEM 2014-10-03 15:52:04 -07:00
Makefile net: DSA: Marvell mv88e6171 switch driver 2014-09-13 17:26:47 -04:00
bcm_sf2.c net: dsa: bcm_sf2: add support for controlling EEE 2014-09-28 17:14:09 -04:00
bcm_sf2.h net: dsa: bcm_sf2: add support for controlling EEE 2014-09-28 17:14:09 -04:00
bcm_sf2_regs.h net: dsa: bcm_sf2: add support for controlling EEE 2014-09-28 17:14:09 -04:00
mv88e6xxx.c dsa: Fix conversion from host device to mii bus 2014-10-17 23:52:08 -04:00
mv88e6xxx.h net: DSA: Marvell mv88e6171 switch driver 2014-09-13 17:26:47 -04:00
mv88e6060.c dsa: Fix conversion from host device to mii bus 2014-10-17 23:52:08 -04:00
mv88e6123_61_65.c dsa: Replace mii_bus with a generic host device 2014-09-15 17:24:20 -04:00
mv88e6131.c dsa: Replace mii_bus with a generic host device 2014-09-15 17:24:20 -04:00
mv88e6171.c dsa: mv88e6171: Fix tagging protocol/Kconfig 2014-10-28 15:27:54 -04:00