]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: ethernet: switch to new family_id location
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 16 Dec 2025 10:23:58 +0000 (11:23 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 23 Dec 2025 16:59:12 +0000 (17:59 +0100)
commite8dba8fb170f67d2a3d7a4874d336bc2831efc88
tree1dd11610dcc48196aee448f6c505c66d2fbae81e
parentabb11b542f4dde3960f561ab4a11b95fae4a70f6
realtek: ethernet: switch to new family_id location

family_id is now part of the register set and automatically assigned
during initialization. Make use of it. This is basically a conversion
from priv->family_id to priv->r->family_id.

While we are here convert some hard coded family ids to their proper
defines.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21183
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c