aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2017-02-02 21:01:36 -0800
committerJohn Crispin <john@phrozen.org>2017-02-14 12:27:14 +0100
commit6cce9557a0b77ee2450e75779c05231692e4c71f (patch)
tree60d6c90d45eb4f17e77013d1ca4bf779a30ebaa4 /target/linux/ar71xx/base-files/etc/board.d/02_network
parent3b90ed8c1856cf54a952d8471b60972f6d4107d6 (diff)
downloadupstream-6cce9557a0b77ee2450e75779c05231692e4c71f.tar.gz
upstream-6cce9557a0b77ee2450e75779c05231692e4c71f.tar.bz2
upstream-6cce9557a0b77ee2450e75779c05231692e4c71f.zip
ar71xx: Add support for D-Link EBR-2310 Rev. C
Add support for the EBR-2310, which is almost identical to the DIR-615 rev E4, without the wifi. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index d14fb428d8..14bb34b898 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -310,6 +310,11 @@ ar71xx_setup_interfaces()
"0u@eth0" "2:lan" "3:lan" "4:lan"
ucidef_add_switch_attr "switch0" "enable" "false"
;;
+ ebr-2310-c1)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth1"
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4"
+ ;;
el-m150)
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
ucidef_add_switch "switch0" \