diff options
author | Ron Angeles <ronangeles@gmail.com> | 2017-03-27 18:55:48 -0700 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2017-04-03 12:29:07 +0200 |
commit | 156d9255f2c621ffe58321d73b737613f70e0503 (patch) | |
tree | 8b672c6ccf58b543289c800824abe1431df1226a /target/linux/ar71xx/base-files/etc | |
parent | 539e2a78f08860ea37442639d52b5d3c62cdfb67 (diff) | |
download | openwrt-156d9255f2c621ffe58321d73b737613f70e0503.tar.gz openwrt-156d9255f2c621ffe58321d73b737613f70e0503.tar.bz2 openwrt-156d9255f2c621ffe58321d73b737613f70e0503.zip |
ar71xx: add userspace support for Mikrotik RB2011iL
Kernel/hardware support for this board has been implemented since
Chaos Calmer. This set of patches is to get the board identified in
userland. This will allow support for things like sysupgrade,
configuring initial LED state, configuring initial switch state, etc.
Signed-off-by: Ron Angeles <ronangeles@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
4 files changed, 6 insertions, 2 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 1a4b02c535..1ac3dc4a76 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -256,6 +256,7 @@ rb-952ui-5ac2nd) rb-962uigs-5hact2hnt) ucidef_set_led_timer "user" "USER/SFP" "rb:green:user" "1000" "1000" ;; +rb-2011il|\ rb-2011l|\ rb-2011uas|\ rb-2011uias|\ 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 bf7c4dcd3c..b0bf413ca1 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -272,6 +272,7 @@ ar71xx_setup_interfaces() "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:wan:1" ;; db120|\ + rb-2011il|\ rb-2011l|\ rb-2011uas|\ rb-2011uas-2hnd|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 3cde175664..cea95b7f4e 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -284,6 +284,7 @@ get_status_led() { r602n) status_led="$board:green:wan" ;; + rb-2011il|\ rb-2011l|\ rb-2011uas|\ rb-2011uas-2hnd) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration index 0558848d04..a99a4ec0b4 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration @@ -86,8 +86,9 @@ rb-450) migrate_switch_name "eth1" "switch0" ;; -db120 |\ -rb-2011l | \ +db120|\ +rb-2011il|\ +rb-2011l|\ rb-2011uas-2hnd) migrate_switch_name "eth0" "switch0" migrate_switch_name "eth1" "switch1" |