summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-01-18 20:40:03 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2016-01-18 20:40:03 +0000
commit13b8b8c2e7f3f0acf8d23a28a011a3ea261757f5 (patch)
tree302eb59d6de4b18f7843c1d79a753d38b9df1990 /target/linux/lantiq/base-files
parentfcfc7eb2aedbb7467d0290433ad7554c65730b51 (diff)
downloadmaster-31e0f0ae-13b8b8c2e7f3f0acf8d23a28a011a3ea261757f5.tar.gz
master-31e0f0ae-13b8b8c2e7f3f0acf8d23a28a011a3ea261757f5.tar.bz2
master-31e0f0ae-13b8b8c2e7f3f0acf8d23a28a011a3ea261757f5.zip
lantiq: add support for TP-Link VR200v
This adds basic support for TP-Link VR200v. Currently the following parts are not working: FXO, Voice, DECT, WIFI (both) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48328
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index 89faeaaa34..8ed525915d 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -96,6 +96,13 @@ TDW8970|TDW8980)
"0:lan:1" "2:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
;;
+VR200v)
+ lan_mac=$(mtd_get_mac_binary romfile 61696)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_add_switch "switch0" \
+ "0:lan:1" "2:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
+ ;;
+
ARV7519RW22)
lan_mac=$(mtd_get_mac_binary boardconfig 22)
wan_mac=$(macaddr_add "$lan_mac" 1)