1 From 45a0371568b1f050d787564875653f41a1f6fb98 Mon Sep 17 00:00:00 2001
2 From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
3 Date: Fri, 14 Oct 2022 14:06:40 +0200
4 Subject: [PATCH 741/768] net: dsa: lantiq_gswip: Fix comments in
5 gswip_port_vlan_filtering()
7 Update the comments in gswip_port_vlan_filtering() so it's clear that
8 there are two separate cases, one for "tag based VLAN" and another one
11 Suggested-by: Martin Schiller <ms@dev.tdt.de>
12 Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
14 drivers/net/dsa/lantiq_gswip.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 --- a/drivers/net/dsa/lantiq_gswip.c
18 +++ b/drivers/net/dsa/lantiq_gswip.c
19 @@ -762,7 +762,7 @@ static int gswip_port_vlan_filtering(str
23 - /* Use port based VLAN tag */
24 + /* Use tag based VLAN */
25 gswip_switch_mask(priv,
27 GSWIP_PCE_VCTRL_UVR | GSWIP_PCE_VCTRL_VIMR |
28 @@ -771,7 +771,7 @@ static int gswip_port_vlan_filtering(str
29 gswip_switch_mask(priv, GSWIP_PCE_PCTRL_0_TVM, 0,
30 GSWIP_PCE_PCTRL_0p(port));
32 - /* Use port based VLAN tag */
33 + /* Use port based VLAN */
34 gswip_switch_mask(priv,
35 GSWIP_PCE_VCTRL_UVR | GSWIP_PCE_VCTRL_VIMR |