diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-24 18:30:19 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-24 18:30:19 +0000 |
commit | 49d38ad8c15d948426d4b48b6f2e7d7f3480c686 (patch) | |
tree | 8ed3da20af575dc14de000351ce53fc438287f87 /target/linux/ar71xx/base-files/etc/board.d | |
parent | d95f4c6ca377edcdf8c827a50b5e67e12313f9f6 (diff) | |
download | master-187ad058-49d38ad8c15d948426d4b48b6f2e7d7f3480c686.tar.gz master-187ad058-49d38ad8c15d948426d4b48b6f2e7d7f3480c686.tar.bz2 master-187ad058-49d38ad8c15d948426d4b48b6f2e7d7f3480c686.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47621 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-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" |