aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-11 15:11:36 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-11 15:11:36 +0000
commit9cde29f1a71f5228ad35fbf3870262b94a215709 (patch)
treed8d9fce18a9ae158dc4d08a22f3eae64cf4c45a6 /target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
parent59b474732c36d40c725d8bc5a8382c047f7f6933 (diff)
downloadupstream-9cde29f1a71f5228ad35fbf3870262b94a215709.tar.gz
upstream-9cde29f1a71f5228ad35fbf3870262b94a215709.tar.bz2
upstream-9cde29f1a71f5228ad35fbf3870262b94a215709.zip
ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
This patch adds support for the Accton WR6202 Mini 3G broadband router. Full details for this device are available at http://www.awbnetworks.com/products03.php?Fullkey=19. This device is identical to the SMCWBR11S-3GN: http://www.smc-asia.com/products03.php?Fullkey=210 It's also worth noting that this board has a GPIO line to control the power to the USB port. [juhosg: - fix checkpatch warnings, - reorder Kconfig entry, - merge the sysupgrade patch, - add GPL header] Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> SVN-Revision: 30434
Diffstat (limited to 'target/linux/ramips/base-files/lib/preinit/06_set_iface_mac')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac3
1 files changed, 2 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 f6884c8477..121b471f4f 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
@@ -25,7 +25,8 @@ preinit_set_mac_address() {
hw550-3g |\
nbg-419n |\
omni-emb |\
- w502u)
+ w502u |\
+ wr6202)
mac=$(ramips_get_mac_binary factory 40)
ifconfig eth0 hw ether $mac 2>/dev/null
;;