summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-19 15:55:10 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-19 15:55:10 +0000
commit2d61da5a90483dadcf21ac1b145ccb4137304e26 (patch)
tree2786a083b89e0c09168312b98e7c7838457ae27d /target/linux/ramips/base-files
parent8aeb0454068e88ea3b7383411e5131e169f053d0 (diff)
ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28052 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 a54edbabe..0f50c9bc1 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 616e96697..1ab8f7913 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"
;;