diff options
author | John Crispin <john@openwrt.org> | 2015-11-24 18:30:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-24 18:30:19 +0000 |
commit | a04c3e73a33f9effc77511076bdbf8a0013a9574 (patch) | |
tree | 8f4879679d34a9a37aafe7f556abf0c14257f49f /target/linux/ar71xx/base-files/etc | |
parent | 72093bd5284e25cb1b7ffc649c8d6a63fd8dcb83 (diff) | |
download | upstream-a04c3e73a33f9effc77511076bdbf8a0013a9574.tar.gz upstream-a04c3e73a33f9effc77511076bdbf8a0013a9574.tar.bz2 upstream-a04c3e73a33f9effc77511076bdbf8a0013a9574.zip |
ar71xx: add GL-AR300 support V3
This is the patch for GL-AR300 V3, tested against the latest trunk.
Signed-off-by: alzhao<alzhao@gmail.com>
SVN-Revision: 47621
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 16a875805d..da3e5614d8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -221,6 +221,10 @@ gl-ar150) ucidef_set_led_wlan "wlan" "WLAN" "gl_ar150:wlan" "phy0tpt" ;; +gl-ar300) + ucidef_set_led_wlan "wlan" "WLAN" "gl_ar300:wlan" "phy0tpt" + ;; + gl-inet) ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index de86ba54c8..a5a40a177d 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -408,6 +408,12 @@ wpe72) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; +gl-ar300) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" + ;; + wpj344) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" |