summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-18 16:31:37 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-18 16:31:37 +0000
commit02d53252d2887bfa8135d79bf4e62d5472814d70 (patch)
tree200d5da44ccb74002d132fec07aad5f78fa3a168 /target/linux/ramips/base-files/etc
parente4dcacea69846be7debd0a084ed1fb121abe12d0 (diff)
ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38040 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom2
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds2
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network4
4 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c0fdc88877..c8f73e7971 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -27,7 +27,7 @@ get_status_led() {
d105)
status_led="d105:red:power"
;;
- dir-300-b1 | dir-600-b1 | dir-600-b2 | dir-610-a1 | dir-615-h1 | dir-615-d | dir-620-a1| dir-620-d1)
+ dir-300-b1 | dir-600-b1 | dir-600-b2 | dir-610-a1 | dir-615-h1 | dir-615-d | dir-620-a1| dir-620-d1| dir-300-b7| dir-320-b1)
status_led="d-link:green:status"
;;
dir-645)
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 a80ea4ff49..a56781787d 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
@@ -68,6 +68,8 @@ case "$FIRMWARE" in
br6524n | \
carambola | \
d105 | \
+ dir-300-b7 | \
+ dir-320-b1 | \
dir-610-a1 | \
dir-615-h1 | \
dir-620-a1 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 64c7c5e469..7f9ca40722 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -78,6 +78,8 @@ case $board in
ucidef_set_led_default "power" "POWER" "dlink:green:power" "1"
;;
dir-610-a1 |\
+ dir-300-b7 |\
+ dir-320-b1 |\
esr-9753)
set_wifi_led "rt2800pci-phy0::radio"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index e444ef246d..0184ef4df7 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -78,6 +78,8 @@ ramips_setup_interfaces()
;;
dir-610-a1 | \
+ dir-300-b7 | \
+ dir-320-b1 | \
dir-615-h1 | \
mzk-w300nh2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -177,6 +179,8 @@ ramips_setup_macs()
ip2202 | \
mpr-a1 | \
mpr-a2 | \
+ dir-300-b7 | \
+ dir-320-b1 | \
mzk-w300nh2 | \
nw718 | \
psr-680w | \