Skip to content

Commit

Permalink
ath79: add Fritz!Box 4020 switchconfig
Browse files Browse the repository at this point in the history
In contrast to ar71xx, uci switchconfig is missing in the ath79 target.

Signed-off-by: David Bauer <mail@david-bauer.net>
  • Loading branch information
blocktrron authored and mkresin committed Oct 7, 2018
1 parent 87cd118 commit 35c314b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion target/linux/ath79/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 35c314b

Please sign in to comment.