aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-08-19 15:55:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-08-19 15:55:10 +0000
commit9085b05d9e713e48edc2fe76346ae04687f018ca (patch)
tree30a0c8ee67c4d1e06a17f39d548d79c57fa7968e /target/linux/ramips/base-files
parent46b101ad0a3034ea76c98dbd4e6ebb7f26d72ba2 (diff)
downloadupstream-9085b05d9e713e48edc2fe76346ae04687f018ca.tar.gz
upstream-9085b05d9e713e48edc2fe76346ae04687f018ca.tar.bz2
upstream-9085b05d9e713e48edc2fe76346ae04687f018ca.zip
ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx> SVN-Revision: 28052
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
2 files changed, 5 insertions, 1 deletions
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 a54edbabe7..0f50c9bc1b 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
@@ -54,7 +54,8 @@ case "$FIRMWARE" in
rt-n15 | \
v22rw-2x2 | \
wcr150gn | \
- whr-g300n)
+ whr-g300n | \
+ wr512-3gn)
rt2x00_eeprom_extract "factory" 0 272
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 616e966976..1ab8f7913a 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -58,6 +58,9 @@ ramips_board_name() {
*"WZR-AGL300NH")
name="wzr-agl300nh"
;;
+ *"SH-WR512NU/WS-WR512N1-like 3GN router")
+ name="wr512-3gn"
+ ;;
*)
name="generic"
;;