summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/lib
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/lib
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/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac4
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh6
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh2
3 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 44cab3aa19..0c4ee13930 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -13,6 +13,7 @@ preinit_set_mac_address() {
3g-6200nl |\
3g300m | \
dir-620-d1 |\
+ dir-300-b7 | \
w150m | \
mzk-w300nh2 |\
wl-330n |\
@@ -28,7 +29,8 @@ preinit_set_mac_address() {
freestation5 |\
mpr-a1 | \
mpr-a2 | \
- nw718 |\
+ dir-300-b7 | \
+ dir-320-b1 | \
psr-680w |\
rt-n56u |\
sl-r7205)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 066f3bdb40..a92e8189b9 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -67,6 +67,12 @@ ramips_board_detect() {
*"DIR-300 B1")
name="dir-300-b1"
;;
+ *"DIR-300 B7")
+ name="dir-300-b7"
+ ;;
+ *"DIR-320/NRU B1")
+ name="dir-320-b1"
+ ;;
*"DIR-600 B1")
name="dir-600-b1"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 4545af009c..cc8ca89aa5 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -30,6 +30,8 @@ platform_check_image() {
carambola | \
d105 | \
dir-300-b1 | \
+ dir-300-b7 | \
+ dir-320-b1 | \
dir-600-b1 | \
dir-600-b2 | \
dir-615-h1 | \