diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-01 11:20:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-11-01 11:20:52 +0000 |
commit | 91f08d47c2fa03570ff59a19eff741ac4797a97e (patch) | |
tree | 2e3f22d936160e1a960b2e13d8a9f9181f9f1096 /target/linux/ar71xx/base-files/etc | |
parent | 21e651c9a1a00e58fa7cf4f325668cd467c7a03b (diff) | |
download | upstream-91f08d47c2fa03570ff59a19eff741ac4797a97e.tar.gz upstream-91f08d47c2fa03570ff59a19eff741ac4797a97e.tar.bz2 upstream-91f08d47c2fa03570ff59a19eff741ac4797a97e.zip |
ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.
SVN-Revision: 28706
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network | 24 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/leds | 1 |
3 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network new file mode 100644 index 0000000000..de201bf5ec --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr741nd-v4/network @@ -0,0 +1,24 @@ +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname eth0 + option type bridge + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + +config interface wan + option ifname eth1 + option proto dhcp + +config switch eth0 + option enable_vlan 1 + +config switch_vlan + option device eth0 + option vlan 1 + option ports "0 1 2 3 4" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index d7673dedf1..f6f36bfd58 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -91,6 +91,7 @@ get_status_led() { tl-wa901nd-v2 | \ tl-wr1043nd | \ tl-wr741nd | \ + tl-wr741nd-v4 | \ tl-wr841n-v1 | \ tl-wr941nd) status_led="tp-link:green:system" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index cd910cca6e..10ace46567 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -104,6 +104,7 @@ tl-mr3420 ) set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" ;; +tl-wr741nd-v4 | \ tl-wr941nd) set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; |