git: kernel: Add the mrsas(4) RAID driver for LSI Thunderbolt and newer series.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jun 14 04:36:31 PDT 2014


commit 6d743f0468a9bd40d1cedc939569228864d0614f
Author: Sascha Wildner <saw at online.de>
Date:   Sat Jun 14 13:35:11 2014 +0200

    kernel: Add the mrsas(4) RAID driver for LSI Thunderbolt and newer series.
    
    Specifically, it adds support for Thunderbolt (6 Gb/s), Invader (12 Gb/s)
    and Fury (12 Gb/s) series.
    
    Note that Thunderbolt controllers are supported by mfi(4) too. When both
    drivers are loaded, the default is to attach via mfi(4). This can be
    changed by either not loading or compiling in the mfi(4) driver at all
    or by setting hw.mfi.mrsas_enable=1 in /boot/loader.conf. It might be
    that we change this default to giving precedence to mrsas(4) before the
    next release, but for now, until it gets some more testing, we take
    FreeBSD's default (giving mfi(4) precedence).
    
    That said, the driver works without any issues here with an
    Intel RS25DB080 card (which is really an LSI MegaRAID SAS 9265).
    
    mrsas(4) should (at least) support the following adapters:
    
    Thunderbolt:
    
    LSI MegaRAID SAS 9265
    LSI MegaRAID SAS 9266
    LSI MegaRAID SAS 9267
    LSI MegaRAID SAS 9270
    LSI MegaRAID SAS 9271
    LSI MegaRAID SAS 9272
    LSI MegaRAID SAS 9285
    LSI MegaRAID SAS 9286
    DELL PERC H810
    DELL PERC H710/P
    
    Invader/Fury:
    
    LSI MegaRAID SAS 9380
    LSI MegaRAID SAS 9361
    LSI MegaRAID SAS 9341
    DELL PERC H830
    DELL PERC H730/P
    DELL PERC H330
    
    Taken-from: FreeBSD

Summary of changes:
 gnu/usr.bin/groff/tmac/mdoc.local |    1 +
 share/man/man4/Makefile           |    1 +
 share/man/man4/amr.4              |    5 +-
 share/man/man4/mfi.4              |   21 +-
 share/man/man4/mrsas.4            |  427 +++++
 sys/conf/files                    |    4 +
 sys/config/GENERIC                |    1 +
 sys/config/LINT                   |    5 +
 sys/config/LINT64                 |    5 +
 sys/config/X86_64_GENERIC         |    1 +
 sys/dev/raid/Makefile             |    2 +-
 sys/dev/raid/mfi/mfi_pci.c        |   44 +-
 sys/dev/raid/mfi/mfivar.h         |    1 +
 sys/dev/raid/mrsas/Makefile       |    8 +
 sys/dev/raid/mrsas/mrsas.c        | 3680 +++++++++++++++++++++++++++++++++++++
 sys/dev/raid/mrsas/mrsas.h        | 2445 ++++++++++++++++++++++++
 sys/dev/raid/mrsas/mrsas_cam.c    | 1200 ++++++++++++
 sys/dev/raid/mrsas/mrsas_fp.c     | 1449 +++++++++++++++
 sys/dev/raid/mrsas/mrsas_ioctl.c  |  541 ++++++
 sys/dev/raid/mrsas/mrsas_ioctl.h  |   95 +
 20 files changed, 9921 insertions(+), 15 deletions(-)
 create mode 100644 share/man/man4/mrsas.4
 create mode 100644 sys/dev/raid/mrsas/Makefile
 create mode 100644 sys/dev/raid/mrsas/mrsas.c
 create mode 100644 sys/dev/raid/mrsas/mrsas.h
 create mode 100644 sys/dev/raid/mrsas/mrsas_cam.c
 create mode 100644 sys/dev/raid/mrsas/mrsas_fp.c
 create mode 100644 sys/dev/raid/mrsas/mrsas_ioctl.c
 create mode 100644 sys/dev/raid/mrsas/mrsas_ioctl.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d743f0468a9bd40d1cedc939569228864d0614f


-- 
DragonFly BSD source repository



More information about the Commits mailing list