aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2018-10-07 17:09:48 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 17:26:30 +0200
commit35c314bdb211b3f7fe56cc4ca94d6cb124577c83 (patch)
tree09afe0b79939870542133789d0a9ba7070e92f60 /target
parent87cd118794cc9375260ea213838e80ad5295e83c (diff)
downloadupstream-35c314bdb211b3f7fe56cc4ca94d6cb124577c83.tar.gz
upstream-35c314bdb211b3f7fe56cc4ca94d6cb124577c83.tar.bz2
upstream-35c314bdb211b3f7fe56cc4ca94d6cb124577c83.zip
ath79: add Fritz!Box 4020 switchconfig
In contrast to ar71xx, uci switchconfig is missing in the ath79 target. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network6
1 files changed, 5 insertions, 1 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 10311bf684..56eb42f65c 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -29,6 +29,11 @@ ath79_setup_interfaces()
wd,mynet-wifi-rangeextender)
ucidef_set_interface_lan "eth0"
;;
+ avm,fritz4020)
+ ucidef_set_interface_wan "eth0"
+ ucidef_add_switch "switch0" \
+ "0@eth1" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2"
+ ;;
buffalo,bhr-4grv|\
buffalo,wzr-hp-g450h)
ucidef_add_switch "switch0" \
@@ -63,7 +68,6 @@ ath79_setup_interfaces()
etactica,eg200)
ucidef_set_interface_lan "eth0" "dhcp"
;;
- avm,fritz4020|\
glinet,ar150|\
glinet,ar300m)
ucidef_set_interfaces_lan_wan "eth1" "eth0"