]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dsa: lantiq_gswip: clarify GSWIP 2.2 VLAN mode in comment
authorDaniel Golle <daniel@makrotopia.org>
Tue, 21 Oct 2025 11:16:30 +0000 (12:16 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 24 Oct 2025 01:53:05 +0000 (18:53 -0700)
commit41b66240e90b0dceb488ce5a4a285a97e6ca63c7
treec0a8367a3f07d5e9e1a1e3b7ff016880374f48fe
parent05774d7e4201b673b415d65a1344dc396e7c00e1
net: dsa: lantiq_gswip: clarify GSWIP 2.2 VLAN mode in comment

The comment above writing the default PVID incorrectly states that
"GSWIP 2.2 (GRX300) and later program here the VID directly."
The truth is that even GSWIP 2.2 and newer maintain the behavior of
GSWIP 2.1 unless the VLANMD bit in PCE Global Control Register 1 is
set ("GSWIP2.2 VLAN Mode").
Fix the misleading comment accordingly.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by; Hauke Mehrtens <hauke@hauke-m.de>:
Acked-by; Hauke Mehrtens <hauke@hauke-m.de>:
Link: https://patch.msgid.link/018056a575503d9797f3222f71a988e825316be0.1761045000.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lantiq/lantiq_gswip.c