ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
[openwrt/svn-archive/archive.git] / target / linux / ramips / base-files / etc / uci-defaults / network
index 60dd71608004ee46d379dabdb238e01d23ef7100..834a2a7d906f7fef08167c6d63575d9ecb086457 100755 (executable)
@@ -30,6 +30,10 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t"
                ;;
 
+       wli-tx4-ag300n)
+               ucidef_set_interface_lan "eth0"
+               ;;
+
        rt-n15)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "rtl8366s" "1" "1"
@@ -81,6 +85,11 @@ ramips_setup_macs()
                 lan_mac=$(ramips_get_mac_binary factory 4)
                 wan_mac=$(ramips_get_mac_binary factory 40)
                ;;
+
+       wli-tx4-ag300n)
+               lan_mac=$(ramips_get_mac_binary factory 4)
+               ;;
+
        esac
 
        [ -n $lan_mac ] && ucidef_set_interface_macaddr lan $lan_mac