Add FreeBSD's mpr(4) driver for LSI Fusion-MPT 3/3.5 SAS controllers.
authorSascha Wildner <saw@online.de>
Tue, 24 Apr 2018 18:45:47 +0000 (20:45 +0200)
committerSascha Wildner <saw@online.de>
Tue, 24 Apr 2018 18:45:47 +0000 (20:45 +0200)
commitfd501800cafe382e0751b7be1342c553b3335543
treea9ecd8687a02f55214c9b4d65ff2ed13870e9683
parent9b2fb28f7f5a6b0d623cc27ce40b9f40f1efa462
Add FreeBSD's mpr(4) driver for LSI Fusion-MPT 3/3.5 SAS controllers.

This commit also includes a userland utility for mps(4) and mpr(4)
(mprutil(8) aka mpsutil(8)).

After porting bug fixing, testing shows that it seems to be stable,
therefore I have added it to our X64_64_GENERIC as well.

Thanks to zrj for testing and to sephe for some porting clues.

Taken-from: FreeBSD
48 files changed:
etc/devd.conf
gnu/usr.bin/groff/tmac/mdoc.local
share/man/man4/Makefile
share/man/man4/mpr.4 [new file with mode: 0644]
share/man/man4/mps.4
share/man/man4/mpt.4
sys/conf/files
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/dev/raid/Makefile
sys/dev/raid/mpr/Makefile [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_cnfg.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_hbd.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_history.txt [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_init.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_ioc.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_pci.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_ra.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_raid.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_sas.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_targ.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_tool.h [new file with mode: 0644]
sys/dev/raid/mpr/mpi/mpi2_type.h [new file with mode: 0644]
sys/dev/raid/mpr/mpr.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_config.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_ioctl.h [new file with mode: 0644]
sys/dev/raid/mpr/mpr_mapping.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_mapping.h [new file with mode: 0644]
sys/dev/raid/mpr/mpr_pci.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_sas.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_sas.h [new file with mode: 0644]
sys/dev/raid/mpr/mpr_sas_lsi.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_table.c [new file with mode: 0644]
sys/dev/raid/mpr/mpr_table.h [new file with mode: 0644]
sys/dev/raid/mpr/mpr_user.c [new file with mode: 0644]
sys/dev/raid/mpr/mprvar.h [new file with mode: 0644]
usr.sbin/Makefile
usr.sbin/mpsutil/Makefile [new file with mode: 0644]
usr.sbin/mpsutil/mpr_ioctl.h [new file with mode: 0644]
usr.sbin/mpsutil/mps_cmd.c [new file with mode: 0644]
usr.sbin/mpsutil/mps_debug.c [new file with mode: 0644]
usr.sbin/mpsutil/mps_flash.c [new file with mode: 0644]
usr.sbin/mpsutil/mps_ioctl.h [new file with mode: 0644]
usr.sbin/mpsutil/mps_show.c [new file with mode: 0644]
usr.sbin/mpsutil/mpsutil.8 [new file with mode: 0644]
usr.sbin/mpsutil/mpsutil.c [new file with mode: 0644]
usr.sbin/mpsutil/mpsutil.h [new file with mode: 0644]