diff options
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 1d6cd4e774..35eff1c8f8 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -89,6 +89,10 @@ ath79_setup_interfaces() glinet,gl-x750) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; + nec,wg800hp) + ucidef_add_switch "switch0" \ + "0@eth0" "2:lan" "3:lan" "4:lan" "1:wan" + ;; netgear,wndr3700|\ netgear,wndr3700v2|\ netgear,wndr3800) @@ -238,6 +242,10 @@ ath79_setup_macs() lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) ;; + nec,wg800hp) + lan_mac=$(mtd_get_mac_text board_data 640) + wan_mac=$(mtd_get_mac_text board_data 1152) + ;; netgear,wndr3700|\ netgear,wndr3700v2|\ netgear,wndr3800) |