]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: phy: simplify RTL8214FC configuration 21508/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 12 Jan 2026 09:29:44 +0000 (10:29 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 15 Jan 2026 14:26:44 +0000 (15:26 +0100)
commit10ae743260b57d2a371efce11b35c25db8d97d0b
treefd5e2ec998d50a4469592806cbd9823e1c04586c
parent1e3139d483c63ff26614c3434d07f8d3f741d38a
realtek: phy: simplify RTL8214FC configuration

Initialization of the RTL8214FC was coded like "put the cart
before the horse". Configuration was called from probing
and only when called for the last port.

Testing showed that there is no need to overcomplicate things.
Reorganize the setup as follows:

- Let probe() & config() do what they are meant for
- Split the config part between a package and a port sequence

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21508
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c