]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: eth: move init_mac() into configuration structure 21391/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 4 Jan 2026 20:21:23 +0000 (21:21 +0100)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 9 Jan 2026 19:03:04 +0000 (21:03 +0200)
commit7b351062d2d8071038d0d298e806dff3794e7a6f
tree94434b737c59c5859af560e886587ac84ee4737b
parent320e6f3188ed569bec7cb504daf0485dddd78622
realtek: eth: move init_mac() into configuration structure

Avoid family checks where possible. Now that the init_mac()
functions are in perfect shape include them into the
configuration structure. While we are here rename them
to the new driver prefix.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21391
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.h