]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: ksz: Factor out common tag code
authorTristram Ha <Tristram.Ha@microchip.com>
Sat, 15 Dec 2018 00:58:05 +0000 (01:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 22:23:33 +0000 (14:23 -0800)
commit615c4ed0bcc130dbd458905ef2bda651b70ba82b
treed747dc2813110c32d3c1cfc34e0a7107f8b3f0cf
parent047c9b45d4ed681f39daa1ba7dc6e3e752ae09ac
net: dsa: ksz: Factor out common tag code

Factor out common code from the tag_ksz , so that the code can be used
with other KSZ family switches which use differenly sized tags.

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