aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-27 19:29:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-27 19:29:57 +0000
commite4e24c5512901afa3a4bc55824b5dd467d3fcc5c (patch)
tree83cbf4c6bd9e59410eb94137a0aaf328bcd20480 /target/linux/ramips/base-files/lib
parentaf2c5df66a60c05d26f691933cc820b0f88a7cbf (diff)
downloadupstream-e4e24c5512901afa3a4bc55824b5dd467d3fcc5c.tar.gz
upstream-e4e24c5512901afa3a4bc55824b5dd467d3fcc5c.tar.bz2
upstream-e4e24c5512901afa3a4bc55824b5dd467d3fcc5c.zip
ramips: rt305x: add add support for the Asus WL-330N board
[juhosg: reorder several lines in order to keep things sorted alphabetically] Signed-off-by: Frédéric Leroy <fredo@starox.org> SVN-Revision: 31100
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 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 97cacfa5ee..90c327a2ed 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
@@ -28,6 +28,7 @@ preinit_set_mac_address() {
nbg-419n |\
omni-emb |\
w502u |\
+ wl-330n |\
wr6202 |\
xdxrn502j)
mac=$(ramips_get_mac_binary factory 40)
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index faa2485365..6e1da23040 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -53,6 +53,9 @@ ramips_board_name() {
*"Argus ATP-52B")
name="argus-atp52b"
;;
+ *"Asus WL-330N")
+ name="wl-330n"
+ ;;
*"Aztech HW550-3G")
name="hw550-3g"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1f6910d762..4d0bb19c77 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -35,6 +35,7 @@ platform_check_image() {
wr6202 |\
v22rw-2x2 | \
wl341v3 | \
+ wl-330n | \
wli-tx4-ag300n | \
whr-g300n |\
wr512-3gn)