ar71xx: create TL-WA901ND network config from uci-defaults
authorGabor Juhos <juhosg@openwrt.org>
Mon, 7 Nov 2011 21:44:24 +0000 (21:44 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 7 Nov 2011 21:44:24 +0000 (21:44 +0000)
SVN-Revision: 28833

target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network [deleted file]
target/linux/ar71xx/base-files/etc/uci-defaults/network

diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network
deleted file mode 100644 (file)
index b475d65..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-config interface loopback
-       option ifname   lo
-       option proto    static
-       option ipaddr   127.0.0.1
-       option netmask  255.0.0.0
-
-config interface eth
-       option ifname   eth0
-       option proto    none
-
-config interface lan
-       option ifname   lan
-       option type     bridge
-       option proto    static
-       option ipaddr   192.168.1.1
-       option netmask  255.255.255.0
index 041d5f018f91985f4083c84bbf5692c6e1c729d9..076d92281e7e16f13df4a753417c4231a16c6a1c 100755 (executable)
@@ -142,6 +142,11 @@ pb92)
        add_switch_vlan "eth0" "2" "0t 2"
        ;;
 
+tl-wa901nd)
+       set_interface_raw "eth" "eth0"
+       set_interface_lan "lan"
+       ;;
+
 tl-wr1043nd)
        set_interfaces_lan_wan "eth0.1" "eth0.2"
        add_switch "rtl8366rb" "1" "1"