openwrt/target/linux/lantiq
Burak Aydos d527d58cf8 lantiq: xrx200: handle EPROBE_DEFER for MAC address
The xrx200 ethernet driver falls back to a random MAC address on any
error from of_get_ethdev_address(), including -EPROBE_DEFER. When the
MAC address comes from an nvmem layout driver (such as u-boot-env on
NAND), the nvmem cell may not be available yet at first probe attempt.

Fix this by propagating EPROBE_DEFER so the driver probe is deferred
until the nvmem cell becomes available.

Tested on Zyxel P-2812HNU-F1 (NAND, u-boot-env nvmem layout).

Signed-off-by: Burak Aydos <byhexadecimal@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21861
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 50e7e5c80d)
2026-02-09 00:40:31 +01:00
..
ase lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
base-files lantiq: xrx200: switch the subtarget to the mainline DSA driver 2021-06-26 16:05:36 +02:00
falcon lantiq: remove 6.6 support 2025-08-05 23:25:26 +02:00
files/arch/mips/boot/dts/lantiq lantiq: xrx200: add env-size for P-2812HNU-F1 u-boot-env 2026-02-01 20:41:52 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
patches-6.12 lantiq: xrx200: handle EPROBE_DEFER for MAC address 2026-02-09 00:40:31 +01:00
xrx200 lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
xrx200_legacy lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
xway lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
xway_legacy lantiq: remove 6.6 support 2025-08-05 23:25:26 +02:00
config-6.12 lantiq: more conversions to nvmem 2025-11-28 01:20:33 +01:00
Makefile lantiq: switch to kernel 6.12 2025-08-05 23:25:26 +02:00
modules.mk lantiq: xrx200: convert switch driver to package 2025-03-15 13:52:40 +01:00