freebsd-skq/sys/dev/mfi
Doug Ambrisko 0d9a4ef39c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards.
Specifically, add support for "Drake Skinny" and "ThunderBolt" LSI
cards.

Initial code was supplied by LSI under BSD license.  Several improvements
were done by myself.  Such things like making it work in a static kernel,
be able to boot of the RAID, performance improvements.  I removed some
fairly complicated code that seemed to directly access the disks under
the firmware.  It doesn't seem to be needed and significantly slowed
down the performance of the driver and caused tons of sense errors to
be reported.

This code is being checked in this area so others can help me get it into
shape to commit into the FreeBSD tree.  Assistance has been volunteered
by iXsystems.

We might want to re-work the JBOD attachment that creates /dev/mfisyspd?
node for each disk.

Performance is faster then prior cards.  It works okay with WITNESS
and INVARIANTS on amd64 and i386.  I recall seeing a use after
free time bug with FreeBSD 8 and a Drake Skinny card with WITNESS
and INVARIANTS on.

First task is get all of the new structures to be named in FreeBSD
style format.

Next is probably to deal with the 64bit addressing changes that are
mostly around the #ifdef __amd64__ checks.

Thanks to LSI for providing the initial code.

Obtained from:	LSI
2011-11-04 02:34:52 +00:00
..
mfi_cam.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi_debug.c
mfi_disk.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi_ioctl.h First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi_linux.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi_pci.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi_syspd.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi_tbolt.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfi.c First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfireg.h First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00
mfivar.h First cut at updating mfi(4) to support newer LSI MegaRAID SAS cards. 2011-11-04 02:34:52 +00:00