aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-01 10:26:42 +0000
committerJohn Crispin <john@openwrt.org>2014-07-01 10:26:42 +0000
commit4ddc0f9ff33033564b88d39f5e050996de1e782f (patch)
treef77e89ec579b704786443d7ab775bdf3a90e83d2 /target/linux/ramips/base-files
parent3c88de0d47f2fe8d1e051ced0010103e5a981047 (diff)
downloadupstream-4ddc0f9ff33033564b88d39f5e050996de1e782f.tar.gz
upstream-4ddc0f9ff33033564b88d39f5e050996de1e782f.tar.bz2
upstream-4ddc0f9ff33033564b88d39f5e050996de1e782f.zip
ramips: add WHR-1166 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41447
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/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
3 files changed, 7 insertions, 2 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 904afd1a41..3ed0fbb670 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
@@ -110,6 +110,7 @@ case "$FIRMWARE" in
whr-g300n | \
whr-300hp2 | \
whr-600d | \
+ whr-1166d | \
wl-330n | \
wl-330n3g | \
wl-351 | \
@@ -141,7 +142,7 @@ case "$FIRMWARE" in
cy-swr1100)
rt2x00_eeprom_extract "factory" 8192 512
;;
- rt-n56u | whr-600d)
+ rt-n56u | whr-600d | whr-1166d)
rt2x00_eeprom_extract "factory" 32768 512
;;
esac
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index c5e380cbc6..c2f768b8a3 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -176,7 +176,8 @@ case $board in
set_wifi_led "asus:blue:wifi"
;;
whr-300hp2 |\
- whr-600d)
+ whr-600d |\
+ whr-1166d)
ucidef_set_led_default "power" "power" "buffalo:green:power" "1"
ucidef_set_led_default "router" "router" "buffalo:green:router" "1"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5d897fc521..697599341b 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -241,6 +241,9 @@ ramips_board_detect() {
*"WHR-600D")
name="whr-600d"
;;
+ *"WHR-1166D")
+ name="whr-1166d"
+ ;;
*"WHR-G300N")
name="whr-g300n"
;;