]> 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)
commit1c8429c932b74de9d78410e79e70ecf3c68fb3db
treed747dc2813110c32d3c1cfc34e0a7107f8b3f0cf
parentd6e561a4b17a7a0c2dabb491dd69ba476f67bb58
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