ar71xx: Add userspace support for Mikrotik rb-2011iLS

Kernel support already present.
Patch adds userspace for the 'iLS' suffix model of the RB2011 family.
Enables correct initial switch settings, sysupgrade, etc.

https://mikrotik.com/product/RB2011iLS-IN

Signed-off-by: Simon Paterson <simon.paterson.nz@gmail.com>
This commit is contained in:
Simon Paterson 2018-04-30 11:05:42 +12:00 committed by John Crispin
parent 3435dbdc1c
commit 264feab1e7
6 changed files with 10 additions and 0 deletions

View File

@ -616,6 +616,7 @@ rb-962uigs-5hact2hnt)
ucidef_set_led_timer "user" "USER/SFP" "rb:green:user" "1000" "1000"
;;
rb-2011il|\
rb-2011ils|\
rb-2011l|\
rb-2011uas|\
rb-2011uas-2hnd|\

View File

@ -315,12 +315,14 @@ ar71xx_setup_interfaces()
;;
db120|\
rb-2011il|\
rb-2011ils|\
rb-2011l|\
rb-2011uas|\
rb-2011uas-2hnd|\
rb-2011uias|\
rb-2011uias-2hnd)
case "$board" in
rb-2011ils|\
rb-2011uas*|\
rb-2011uias|\
rb-2011uias-2hnd)

View File

@ -335,6 +335,7 @@ get_status_led() {
status_led="$board:green:wan"
;;
rb-2011il|\
rb-2011ils|\
rb-2011l|\
rb-2011uas|\
rb-2011uas-2hnd)

View File

@ -86,6 +86,7 @@ rb-450)
db120|\
rb-2011il|\
rb-2011ils|\
rb-2011l|\
rb-2011uas-2hnd)
migrate_switch_name "eth0" "switch0"

View File

@ -944,6 +944,9 @@ ar71xx_board_detect() {
*"RouterBOARD 2011iL")
name="rb-2011il"
;;
*"RouterBOARD 2011iLS")
name="rb-2011ils"
;;
*"RouterBOARD 2011L")
name="rb-2011l"
;;

View File

@ -550,6 +550,7 @@ platform_check_image() {
rb-951ui-2hnd|\
rb-2011l|\
rb-2011il|\
rb-2011ils|\
rb-2011uas|\
rb-2011uas-2hnd|\
rb-2011uias|\
@ -843,6 +844,7 @@ platform_do_upgrade() {
rb-951g-2hnd|\
rb-951ui-2hnd|\
rb-2011il|\
rb-2011ils|\
rb-2011l|\
rb-2011uas|\
rb-2011uas-2hnd|\