diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-27 16:56:30 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-27 16:56:30 +0000 |
commit | 723d8dd74fdcb14465acc5ef5956020054ff9642 (patch) | |
tree | ab44a6c066037678d4d13e5d371912e77f89522d /target/linux/ramips/base-files/etc/uci-defaults/network | |
parent | 250ef0cb72325e88afa6dfc95f6d9477c62ca1b3 (diff) | |
download | upstream-723d8dd74fdcb14465acc5ef5956020054ff9642.tar.gz upstream-723d8dd74fdcb14465acc5ef5956020054ff9642.tar.bz2 upstream-723d8dd74fdcb14465acc5ef5956020054ff9642.zip |
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 60dd716080..834a2a7d90 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -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 |