summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/base-files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-11-01 01:13:16 +0000
committerLuka Perkov <luka@openwrt.org>2015-11-01 01:13:16 +0000
commit6a18146206c18daae5f2a8a4a203b3fc53745f58 (patch)
tree1c5f256590bc0719ff9d8cc6b161012e7f5f80a1 /target/linux/kirkwood/base-files
parent013a114691e74c9eb76eb2becd7f4878a1fc7f59 (diff)
downloadmtk-20170518-6a18146206c18daae5f2a8a4a203b3fc53745f58.zip
mtk-20170518-6a18146206c18daae5f2a8a4a203b3fc53745f58.tar.gz
mtk-20170518-6a18146206c18daae5f2a8a4a203b3fc53745f58.tar.bz2
kirkwood: add initial support for NSA310s
Signed-off-by: Tony Dinh <mibodhi@gmail.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47330
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/kirkwood/base-files/lib/kirkwood.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
index f0628cd..150926e 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network
@@ -33,6 +33,7 @@ case "$board" in
"goflexnet"|\
"iconnect"|\
"ib62x0"|\
+"nsa310s"|\
"pogo_e02")
set_lan_dhcp "eth0"
;;
diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh
index aa16daf4..6e0f444 100755
--- a/target/linux/kirkwood/base-files/lib/kirkwood.sh
+++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh
@@ -57,6 +57,10 @@ kirkwood_board_detect() {
name="sheevaplug-esata"
;;
+ "ZyXEL NSA310S")
+ name="nsa310s"
+ ;;
+
*)
name="generic"
;;