From 2d61da5a90483dadcf21ac1b145ccb4137304e26 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 19 Aug 2011 15:55:10 +0000 Subject: ramips: rt305x: support for wr512-3gn-like routers Signed-off-by: Andrew Andrianov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28052 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 3 ++- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files') 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" ;; -- cgit v1.2.3