immortalwrt/target/linux/realtek
Sander Vanheule 44f7cfd760 realtek: always require SMI bus ID for RTL8231
The SMI bus ID for RTL8231 currently defaults to 0, and can be
overridden from the devicetree. However, there is no value check on the
DT-provided value, aside from masking which would only cause value
wrap-around.

Change the driver to always require the "indirect-access-bus-id"
property, as there is no real reason to use 0 as default, and perform a
sanity check on the value when probing. This allows the other parts of
the driver to be simplified a bit.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-17 19:11:37 +02:00
..
base-files realtek: sort the port list numerically 2021-12-05 18:49:14 +01:00
dts-5.10 realtek: Add RTL931X sub-target 2022-02-17 15:21:47 +00:00
files/firmware/rtl838x_phy
files-5.10 realtek: always require SMI bus ID for RTL8231 2022-02-17 19:11:37 +02:00
image realtek: Add RTL931X sub-target 2022-02-17 15:21:47 +00:00
patches-5.10 realtek: switch to use generic MDIO accessor functions 2022-02-17 15:21:47 +00:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: Use new CEVT timer 2022-02-17 15:21:47 +00:00
rtl839x realtek: Remove RTL838X PHY firmware from RTL839X kernel 2022-02-17 15:21:47 +00:00
rtl930x realtek: Add RTL930X sub-target 2022-02-17 15:21:47 +00:00
rtl931x realtek: Add RTL931X sub-target 2022-02-17 15:21:47 +00:00
Makefile realtek: Add RTL931X sub-target 2022-02-17 15:21:47 +00:00