aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
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
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')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh2
-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/network3
-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
6 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index f8dac497d6..95f608a4f5 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -69,7 +69,7 @@ get_status_led() {
rt-n10-plus)
status_led="asus:green:wps"
;;
- rt-n56u)
+ rt-n56u | wl-330n )
status_led="asus:blue:power"
;;
sl-r7205)
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 bc23208575..7bd58d5fac 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
@@ -67,6 +67,7 @@ case "$FIRMWARE" in
w502u | \
wcr-150gn | \
whr-g300n | \
+ wl-330n | \
wl-351 | \
wli-tx4-ag300n | \
wr512-3gn | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 77b65cb3a0..a17fad8e98 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -16,7 +16,8 @@ ramips_setup_interfaces()
ucidef_set_interface_loopback
case $board in
- all0256n)
+ all0256n | \
+ wl-330n)
ucidef_set_interface_lan "eth0.1"
;;
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)