mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 12:39:45 +01:00
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 a73db6d0a0)
This commit is contained in:
parent
85a4358432
commit
7f6d739fd7
1 changed files with 11 additions and 0 deletions
|
|
@ -4,6 +4,17 @@
|
|||
|
||||
mpc85xx_set_preinit_iface() {
|
||||
case $(board_name) in
|
||||
aerohive,br200-wp|\
|
||||
ocedo,panda|\
|
||||
tplink,tl-wdr4900-v1)
|
||||
ifname=lan1
|
||||
;;
|
||||
aerohive,hiveap-330|\
|
||||
enterasys,ws-ap3715i|\
|
||||
watchguard,firebox-t10|\
|
||||
watchguard,firebox-t15)
|
||||
ifname=eth1
|
||||
;;
|
||||
watchguard,xtm330)
|
||||
ifname=port1
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue