openwrt/target/linux/realtek/files-5.15/drivers
Harshal Gohel e691e2b302 rtl83xx: dsa: reset PVID to 1 instead of 0
Before, PVID is reset for all ports and goes out of bounds. Also, PVID
is later changed by dsa configuration by `ip link` and `bridge vlan`
commands, this does not change the CPU port PVID and CPU PVID stays 0.
It does not allow sending packets from OpenWrt to any connected devices
unless default configuration is changed

This change iterates up to and including cpu_port and sets default PVID
to 1. For lan* ports PVID can be configured with `ip link` and `bridge
vlan` commands

Acked-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
2024-01-09 21:20:37 +01:00
..
clk/realtek realtek: Follow kernel comment style recommendation 2023-01-13 22:34:16 +01:00
clocksource realtek: timer: Fix cosmetic whitespace in comments 2023-01-28 17:31:12 +01:00
gpio realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00
i2c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
net rtl83xx: dsa: reset PVID to 1 instead of 0 2024-01-09 21:20:37 +01:00