diff options
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/02_network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index d6f66016f6..989dbf32a6 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -157,6 +157,13 @@ WBMR300) "2:lan:2" "3:lan:3" "5:lan:4" "4:wan:1" "6t@eth0" ;; +EASY80920NAND|EASY80920NOR) + lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr) + wan_mac=$(macaddr_add "$lan_mac" 1) + ucidef_add_switch "switch0" \ + "4:lan:1" "2:lan:2" "1:lan:3" "0:lan:3" "5:wan:1" "6t@eth0" + ;; + *) ucidef_set_interface_lan 'eth0' ;; |