diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-12-22 19:31:28 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-12-22 19:31:28 +0000 |
commit | cace9f45660a8bf2ec8a67e33ea5f563ff19abb1 (patch) | |
tree | 9d6feab37d33ea2966fa00c52e52ae708303f2ca /target/linux/ar71xx/base-files | |
parent | ce6136a61cb39f42f0317ccba030b8ed66b8b52d (diff) | |
download | upstream-cace9f45660a8bf2ec8a67e33ea5f563ff19abb1.tar.gz upstream-cace9f45660a8bf2ec8a67e33ea5f563ff19abb1.tar.bz2 upstream-cace9f45660a8bf2ec8a67e33ea5f563ff19abb1.zip |
ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 26 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network new file mode 100644 index 0000000000..80fea51d31 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr841n-v1/network @@ -0,0 +1,19 @@ +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface mac0 + option ifname eth0 + +config interface lan + option ifname "lan1 lan2 lan3 lan4" + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + +config interface wan + option ifname wan + option proto dhcp diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index a74df07ce3..6e4ed5f6f1 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -72,6 +72,9 @@ get_status_led() { tl-wr741nd) status_led="tl-wr741nd:green:system" ;; + tl-wr841n-v1) + status_led="tl-wr841n:green:system" + ;; tl-wr941nd) status_led="tl-wr941nd:green:system" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index e73bb7f64f..42f41e753e 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -76,6 +76,9 @@ ar71xx_board_name() { *TL-WR741ND) name="tl-wr741nd" ;; + *"TL-WR841N v1") + name="tl-wr841n-v1" + ;; *TL-WR941ND) name="tl-wr941nd" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 629e42c304..e320f30ea9 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -75,7 +75,7 @@ platform_check_image() { } return 0 ;; - tl-wr741nd | tl-wr941nd | tl-wr1043nd) + tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) [ "$magic" != "0100" ] && { echo "Invalid image type." return 1 |