]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ramips: mtk_eth_soc: handle EPROBE_DEFER for MAC 21920/head
authorRosen Penev <rosenp@gmail.com>
Sat, 7 Feb 2026 23:58:32 +0000 (15:58 -0800)
committerRobert Marko <robimarko@gmail.com>
Mon, 9 Feb 2026 08:58:10 +0000 (09:58 +0100)
commit0780972fd5c5c4f07d3d45f132f657cc0cf91e66
tree65839c56186ae6f9f95f11fef87651fa6e54172f
parent3553eda28379f1074b8c2cc4d3ab9930552f0cad
ramips: mtk_eth_soc: handle EPROBE_DEFER for MAC

If nvmem is used for ethernet mac address, we need to defer loading to
get the proper mac.

Move to probe as ndo_init is the wrong place to handle EPROBE_DEFER.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21920
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c