net: dsa: mv88e6xxx: Fix support for DSA tagging for older switches.
authorAndrew Lunn <andrew@lunn.ch>
Mon, 22 Aug 2016 14:01:02 +0000 (16:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 04:08:08 +0000 (21:08 -0700)
commit2bbb33be037361882527c9c762cb9fc928ab0ff7
tree4b4a2c5d931a61ad69b0be9102672f89fea2c720
parent7b314362a2344feaafbdf6aa8f3d57077728e37a
net: dsa: mv88e6xxx: Fix support for DSA tagging for older switches.

Older chips only support DSA tagging on the CPU port. New devices
support both DSA and EDSA. The driver needs to tell the core the tag
protocol to use, and configure the switch for what is available.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/Kconfig
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h