summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network7
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
5 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 262160490..b167c520b 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -69,6 +69,9 @@ get_status_led() {
rt-n56u)
status_led="asus:blue:power"
;;
+ v11st-fe)
+ status_led="v11st-fe:green:status"
+ ;;
v22rw-2x2)
status_led="v22rw-2x2:green:security"
;;
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 65b2cd39c..5e6fa420d 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -58,6 +58,7 @@ case "$FIRMWARE" in
nw718 | \
omni-emb | \
rt-n15 | \
+ v11st-fe | \
v22rw-2x2 | \
w502u | \
wcr-150gn | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index bcd17f9d0..891a1a7b3 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -60,6 +60,9 @@ case $board in
nw718)
set_usb_led "nw718:amber:usb"
;;
+ v11st-fe)
+ set_wifi_led "rt2800pci-phy0::radio"
+ ;;
w502u)
set_usb_led "alfa:blue:usb"
set_wifi_led "rt2800pci-phy0::radio"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 0f97bc364..a36341ca1 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -50,6 +50,13 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 8t"
;;
+ v11st-fe)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
+ ucidef_add_switch_vlan "switch0" "2" "0 5t"
+ ;;
+
wcr-150gn)
ucidef_set_interface_lan_wan "eth0.2" "eth0.1"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 9c1a7dcb5..07bdf1605 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -122,6 +122,9 @@ ramips_board_name() {
*"Sitecom WL-351 v1 002")
name="wl-351"
;;
+ *"Ralink V11ST-FE")
+ name="v11st-fe"
+ ;;
*"WLI-TX4-AG300N")
name="wli-tx4-ag300n"
;;