rockchip: make NIC name predictable for LinkEase EasePi R1
authorLiangbin Lian <jjm2473@gmail.com>
Fri, 14 Nov 2025 06:06:10 +0000 (14:06 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 15 Nov 2025 18:48:47 +0000 (19:48 +0100)
commitd7530c1e5405cf93ecd0a38ef758cba5760dfd97
treec651643c6eae2cc52da77081f8816441d9b4fc80
parent7ea377ed715078c9559891d69a455e0796be4eed
rockchip: make NIC name predictable for LinkEase EasePi R1

The probe order for PCIe buses and devices is non-deterministic,
making the names eth2 and eth3 unpredictable (they may be swapped).

This patch fixes the names by referencing the device path using
`ucidef_set_network_device_path`.

This patch ensures that the OpenWrt interface name matches the case label.

Fixes: 8ca4caacd039 ("rockchip: Add support for RK3568 LinkEase EasePi R1")
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20779
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/rockchip/armv8/base-files/etc/board.d/02_network