ath79: Modify GL.iNer GL-S200 lan wan interface
authorWeiping Yang <weiping.yang@gl-inet.com>
Thu, 1 Feb 2024 07:01:17 +0000 (02:01 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 Feb 2024 10:42:42 +0000 (11:42 +0100)
Specifications:
lan: eth0
wan: eth1

Problem Description:
The lan wan port is reversed with the current machine.

Use eth0 as LAN port and eth1 as WAN port.

Signed-off-by: Weiping Yang <weiping.yang@gl-inet.com>
target/linux/ath79/nand/base-files/etc/board.d/02_network

index ff9695aafef6b36639d427d1509bfeaff01a5902..b60586a15effa2e54fba6d967dc84bb19c2afb55 100644 (file)
@@ -44,8 +44,6 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "6@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0"
                ;;
-       glinet,gl-s200-nor|\
-       glinet,gl-s200-nor-nand|\
        netgear,pgzng1)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
                ;;