summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-30 09:16:06 +0000
committerJohn Crispin <john@openwrt.org>2014-03-30 09:16:06 +0000
commit9531390aadea49eff8d173c79787670daa97762f (patch)
tree8f9c7f2b2ac0bfcd0d83206317c88d95a8e5a1ec /target/linux/lantiq/base-files
parent9b78e13aa3f8634e2ef33674691e4e5f252ee94f (diff)
downloadmtk-20170518-9531390aadea49eff8d173c79787670daa97762f.zip
mtk-20170518-9531390aadea49eff8d173c79787670daa97762f.tar.gz
mtk-20170518-9531390aadea49eff8d173c79787670daa97762f.tar.bz2
lantiq: add support for ZyXEL P2812HNUFX
This patch adds almost full support for this board. WiFi is still not working. The FXS ports are not functional due to missing support for the TAPI driver on VR9 SoC. Signed-off-by: Antonios Vamporakis <ant@area128.com> Tested-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 40317
Diffstat (limited to 'target/linux/lantiq/base-files')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index 6e17d4d..4903eb9 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -109,6 +109,12 @@ P2601HNFX)
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
;;
+
+P2812HNUFX)
+ ucidef_set_interface_lan 'eth0.1'
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 4 5 6t"
+ ;;
TDW8970)
lan_mac=$(mtd_get_mac_binary boardconfig 61696)