]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: lan937x: add dsa_tag_protocol
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 1 Jul 2022 15:02:23 +0000 (20:32 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2022 15:34:05 +0000 (16:34 +0100)
commit1b001cf74547828b5aa8af24e08648d81917b329
tree9b2dc7854aa0711d5314ecb0314f2f5e59a32a69
parentbc996dd0fac121b1a19ee183d10cb83feea75d96
net: dsa: microchip: lan937x: add dsa_tag_protocol

This patch update the ksz_get_tag_protocol to return LAN937x specific
tag if the chip id matches one of LAN937x series switch

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/ksz_common.h