diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-12-27 16:56:30 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-12-27 16:56:30 +0000 |
commit | 66769bfe506292ee30f93b823631cbc8757adf01 (patch) | |
tree | 0cb76bf5af0cb6aebeb770c9aa18169e660303f4 /target/linux/ramips/base-files/etc | |
parent | 2993f34f45db931d6dd7f5eb50ec0aa50705b97c (diff) |
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29612 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
3 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index edb8376cdd..652787b3d4 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -66,6 +66,9 @@ get_status_led() { whr-g300n) status_led="whr-g300n:green:router" ;; + wli-tx4-ag300n) + status_led="buffalo:blue:power" + ;; wl-351) status_led="wl-351:amber:power" ;; diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index a1d4887ecb..55c577e27f 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -60,6 +60,7 @@ case "$FIRMWARE" in wcr-150gn | \ whr-g300n | \ wl-351 | \ + wli-tx4-ag300n | \ wr512-3gn) rt2x00_eeprom_extract "factory" 0 272 ;; 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 |