diff options
author | John Crispin <john@openwrt.org> | 2015-08-17 06:16:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-08-17 06:16:54 +0000 |
commit | 4463bc017beba6be6c484f0ff5e9d381debafe38 (patch) | |
tree | f81909ba8f3ca67b7e791e950431ff609ccb1dc5 /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | 9b0516c9fc993745cab983e9ada3e4b00185855c (diff) | |
download | upstream-4463bc017beba6be6c484f0ff5e9d381debafe38.tar.gz upstream-4463bc017beba6be6c484f0ff5e9d381debafe38.tar.bz2 upstream-4463bc017beba6be6c484f0ff5e9d381debafe38.zip |
ar71xx: Add support for Black Swift
Add support for the Black Swift board:
http://www.black-swift.com/
Took relevant parts and slightly adapted from:
https://github.com/blackswift/openwrt/blob/master/bsb.patch
Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 46651
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 4 | ||||
-rw-r--r--[-rwxr-xr-x] | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 2aced37f8d..392be3a8b2 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -55,6 +55,10 @@ ap147-010) ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "ap147:green:wlan-2g" "phy0tpt" ;; +bsb) + ucidef_set_led_default "sys" "SYS" "bsb:red:sys" "1" + ;; + bullet-m | \ nanostation-m | \ rocket-m | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 2893e62669..acaf03fc6c 100755..100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -72,6 +72,13 @@ tl-wdr4900-v2) ucidef_add_switch_vlan "switch0" "2" "1 6" ;; +bsb) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 1 3" + ucidef_set_interface_wlan + ;; + cpe510) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" |