projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720
[openwrt/openwrt.git]
/
target
/
linux
/
apm821xx
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/apm821xx/base-files/etc/board.d/02_network
b/target/linux/apm821xx/base-files/etc/board.d/02_network
index 9525d8c5f21c5b0626d37816bd676483bb86d20d..3a25709a2a3f3ee486976f4b06f9d7f4a791b313 100755
(executable)
--- a/
target/linux/apm821xx/base-files/etc/board.d/02_network
+++ b/
target/linux/apm821xx/base-files/etc/board.d/02_network
@@
-13,6
+13,12
@@
mbl | \
mr24)
ucidef_set_interface_lan "eth0"
;;
+
+wndr4700)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "4:lan" "3:lan" "2:lan" "1:lan" "5:wan"
+ ;;
+
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;