net: dsa: ksz: Add KSZ8795 tag code
authorTristram Ha <Tristram.Ha@microchip.com>
Mon, 29 Jul 2019 17:49:46 +0000 (19:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2019 22:12:50 +0000 (15:12 -0700)
commit016e43a26bab0126e33c9682f9d9d05eca9f0386
treeee71f6103e2408036f7f7242d110326c7e193b80
parent4c173472d051ac469f2dc816aa94484c730c7e61
net: dsa: ksz: Add KSZ8795 tag code

Add DSA tag code for Microchip KSZ8795 switch. The switch is simpler
and the tag is only 1 byte, instead of 2 as is the case with KSZ9477.

Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: David S. Miller <davem@davemloft.net>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/tag_ksz.c