openwrt/target/linux/realtek/files-5.10/drivers
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
..
clk/realtek realtek: fix PLL register inconsistencies 2022-08-31 23:25:39 +02:00
clocksource realtek: timer: Register enabled scheduler clock 2023-01-28 15:23:03 +01:00
gpio realtek: separate lock of RTL8231 from phy driver 2022-10-08 11:05:02 +02:00
i2c realtek: Add support for RTL9300/RTL9310 I2C multiplexing 2022-02-17 15:21:46 +00:00
net realtek: initialize port masks to match the default state 2023-05-07 19:07:34 +02:00