kernel: Add the mrsas(4) RAID driver for LSI Thunderbolt and newer series.
authorSascha Wildner <saw@online.de>
Sat, 14 Jun 2014 11:35:11 +0000 (13:35 +0200)
committerSascha Wildner <saw@online.de>
Sat, 14 Jun 2014 11:36:02 +0000 (13:36 +0200)
commit6d743f0468a9bd40d1cedc939569228864d0614f
treefbcc77bc9130b7534f02820c4c2885f8f5affd87
parent00640ec9119c59be1d74622090d0b75a1b2ae0e2
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
20 files changed:
gnu/usr.bin/groff/tmac/mdoc.local
share/man/man4/Makefile
share/man/man4/amr.4
share/man/man4/mfi.4
share/man/man4/mrsas.4 [new file with mode: 0644]
sys/conf/files
sys/config/GENERIC
sys/config/LINT
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/dev/raid/Makefile
sys/dev/raid/mfi/mfi_pci.c
sys/dev/raid/mfi/mfivar.h
sys/dev/raid/mrsas/Makefile [new file with mode: 0644]
sys/dev/raid/mrsas/mrsas.c [new file with mode: 0644]
sys/dev/raid/mrsas/mrsas.h [new file with mode: 0644]
sys/dev/raid/mrsas/mrsas_cam.c [new file with mode: 0644]
sys/dev/raid/mrsas/mrsas_fp.c [new file with mode: 0644]
sys/dev/raid/mrsas/mrsas_ioctl.c [new file with mode: 0644]
sys/dev/raid/mrsas/mrsas_ioctl.h [new file with mode: 0644]