diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:29:57 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:29:57 +0000 |
commit | e4e24c5512901afa3a4bc55824b5dd467d3fcc5c (patch) | |
tree | 83cbf4c6bd9e59410eb94137a0aaf328bcd20480 /target/linux/ramips/base-files | |
parent | af2c5df66a60c05d26f691933cc820b0f88a7cbf (diff) | |
download | mtk-20170518-e4e24c5512901afa3a4bc55824b5dd467d3fcc5c.zip mtk-20170518-e4e24c5512901afa3a4bc55824b5dd467d3fcc5c.tar.gz mtk-20170518-e4e24c5512901afa3a4bc55824b5dd467d3fcc5c.tar.bz2 |
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')
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 f8dac49..95f608a 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 bc23208..7bd58d5 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 77b65cb..a17fad8 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 97cacfa..90c327a 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 faa2485..6e1da23 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 1f6910d..4d0bb19 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) |