openwrt/target/linux/realtek/files-5.15/drivers/net
Jan Hoffmann 4c0a1667f3 realtek: initialize port masks to match the default state
All ports are disabled by default, so configure the port isolation masks
and the pm field accordingly in the setup function. When port_enable is
called for a port, the isolation masks will be set up so that traffic
can flow between the port and the CPU.

While at it, change the code to also use the traffic_set method in
rtl83xx_setup, instead of writing to the RTL838x_PORT_ISO_CTRL(i)
registers directly.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-05-07 19:07:34 +02:00
..
dsa/rtl83xx realtek: initialize port masks to match the default state 2023-05-07 19:07:34 +02:00
ethernet realtek: eth: Fix missing end of comment marker 2023-01-27 22:03:17 +01:00
phy realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00