]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mpc85xx: fix failsafe iface selection for mpc85xx boards
authorPawel Dembicki <paweldembicki@gmail.com>
Mon, 12 Jan 2026 14:44:05 +0000 (15:44 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 15 Jan 2026 00:31:17 +0000 (01:31 +0100)
commit7f6d739fd7b2d5ecc7c8e29ca718b8c0c9ae39b1
tree6d5caef95c4ec5ceeaff465bd1488f2eb92af2eb
parent85a4358432c1dde7ebafce8ec0cc1c5b2b050b2c
mpc85xx: fix failsafe iface selection for mpc85xx boards

Some mpc85xx boards still boot with failsafe configured on a non-LAN
interface. Align the preinit interface with the first DSA port or the
interface that LAN is connected to.

This makes failsafe reachable on devices where the default selection does
not map to the primary LAN port.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21516
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit a73db6d0a041e1b86bd72ee4103b23d41887a31e)
target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx