diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2016-01-18 20:40:03 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2016-01-18 20:40:03 +0000 |
commit | 883c43578c90a21e254be58a0d5ef3e2567d8c40 (patch) | |
tree | 39722cd980aca597e7ff41673caad4ec99bbd41c /target/linux/lantiq/base-files | |
parent | 9d3123f6e83b834f87c4276807fd30d92dc89ca2 (diff) | |
download | master-187ad058-883c43578c90a21e254be58a0d5ef3e2567d8c40.tar.gz master-187ad058-883c43578c90a21e254be58a0d5ef3e2567d8c40.tar.bz2 master-187ad058-883c43578c90a21e254be58a0d5ef3e2567d8c40.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/02_network | 7 |
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) |