aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-12-17 08:27:38 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-12-17 08:27:38 +0000
commit211cac98d559fdcb11fd0825aaf165da15c87b71 (patch)
tree1b41d1f1c50f7ba0cdb5b61abbb23430b12fef56 /target/linux/ar71xx/base-files
parentd9011ad6beb377fe66ce8fb4924db2c856887fff (diff)
downloadupstream-211cac98d559fdcb11fd0825aaf165da15c87b71.tar.gz
upstream-211cac98d559fdcb11fd0825aaf165da15c87b71.tar.bz2
upstream-211cac98d559fdcb11fd0825aaf165da15c87b71.zip
Belkin AC 1750 DB (F9K1115v2) support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43734
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network7
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 63e1ca6c86..06b96a3a87 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -80,6 +80,9 @@ get_status_led() {
el-m150)
status_led="easylink:green:system"
;;
+ f9k1115v2)
+ status_led="belkin:blue:status"
+ ;;
gl-inet)
status_led="gl-connect:green:lan"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 9517b97ed1..296ea57f1f 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -87,6 +87,10 @@ eap300v2)
ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
;;
+f9k1115v2)
+ ucidef_set_led_usbdev "usb2" "USB2" "belkin:green:usb2" "1-1"
+ ;;
+
rb-750)
ucidef_set_led_default "act" "act" "rb750:green:act" "1"
ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index e205fd514c..b4b6cb3b68 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -98,6 +98,13 @@ tew-673gru)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
;;
+f9k1115v2)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "2 3 4 5 6"
+ ucidef_add_switch_vlan "switch0" "2" "0 1"
+ ;;
+
nbg460n_550n_550nh)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 483a8ded87..9b056e9d9a 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -272,6 +272,9 @@ ar71xx_board_detect() {
*"Oolite V1.0")
name="oolite"
;;
+ *"AC1750DB")
+ name="f9k1115v2"
+ ;;
*"AirGateway")
name="airgateway"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 2e5b0dd90a..6dabf4e614 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -181,6 +181,7 @@ platform_check_image() {
ap135-020 | \
ap96 | \
db120 | \
+ f9k1115v2 |\
hornet-ub | \
bxu2000n-2-a1 | \
zcn-1523h-2 | \