git: Add FreeBSD's mpr(4) driver for LSI Fusion-MPT 3/3.5 SAS controllers.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Apr 24 11:46:09 PDT 2018


commit fd501800cafe382e0751b7be1342c553b3335543
Author: Sascha Wildner <saw at online.de>
Date:   Tue Apr 24 20:45:47 2018 +0200

    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

Summary of changes:
 etc/devd.conf                         |    2 +-
 gnu/usr.bin/groff/tmac/mdoc.local     |    1 +
 share/man/man4/Makefile               |    1 +
 share/man/man4/mpr.4                  |  394 ++++
 share/man/man4/mps.4                  |    3 +-
 share/man/man4/mpt.4                  |    3 +-
 sys/conf/files                        |    8 +
 sys/config/LINT64                     |    3 +-
 sys/config/X86_64_GENERIC             |    3 +-
 sys/dev/raid/Makefile                 |    2 +-
 sys/dev/raid/mpr/Makefile             |   11 +
 sys/dev/raid/mpr/mpi/mpi2.h           | 1374 ++++++++++++
 sys/dev/raid/mpr/mpi/mpi2_cnfg.h      | 3838 ++++++++++++++++++++++++++++++++
 sys/dev/raid/mpr/mpi/mpi2_hbd.h       |  158 ++
 sys/dev/raid/mpr/mpi/mpi2_history.txt |  814 +++++++
 sys/dev/raid/mpr/mpi/mpi2_init.h      |  639 ++++++
 sys/dev/raid/mpr/mpi/mpi2_ioc.h       | 2255 +++++++++++++++++++
 sys/dev/raid/mpr/mpi/mpi2_pci.h       |  151 ++
 sys/dev/raid/mpr/mpi/mpi2_ra.h        |  122 +
 sys/dev/raid/mpr/mpi/mpi2_raid.h      |  410 ++++
 sys/dev/raid/mpr/mpi/mpi2_sas.h       |  355 +++
 sys/dev/raid/mpr/mpi/mpi2_targ.h      |  611 +++++
 sys/dev/raid/mpr/mpi/mpi2_tool.h      |  564 +++++
 sys/dev/raid/mpr/mpi/mpi2_type.h      |  135 ++
 sys/dev/raid/mpr/mpr.c                | 3818 ++++++++++++++++++++++++++++++++
 sys/dev/raid/mpr/mpr_config.c         | 1592 +++++++++++++
 sys/dev/raid/mpr/mpr_ioctl.h          |  388 ++++
 sys/dev/raid/mpr/mpr_mapping.c        | 3128 ++++++++++++++++++++++++++
 sys/dev/raid/mpr/mpr_mapping.h        |  122 +
 sys/dev/raid/mpr/mpr_pci.c            |  401 ++++
 sys/dev/raid/mpr/mpr_sas.c            | 3937 +++++++++++++++++++++++++++++++++
 sys/dev/raid/mpr/mpr_sas.h            |  178 ++
 sys/dev/raid/mpr/mpr_sas_lsi.c        | 1702 ++++++++++++++
 sys/dev/raid/mpr/mpr_table.c          |  594 +++++
 sys/dev/raid/mpr/mpr_table.h          |   66 +
 sys/dev/raid/mpr/mpr_user.c           | 2620 ++++++++++++++++++++++
 sys/dev/raid/mpr/mprvar.h             |  931 ++++++++
 usr.sbin/Makefile                     |    1 +
 usr.sbin/mpsutil/Makefile             |   22 +
 usr.sbin/mpsutil/mpr_ioctl.h          |  388 ++++
 usr.sbin/mpsutil/mps_cmd.c            |  730 ++++++
 usr.sbin/mpsutil/mps_debug.c          |  190 ++
 usr.sbin/mpsutil/mps_flash.c          |  245 ++
 usr.sbin/mpsutil/mps_ioctl.h          |  387 ++++
 usr.sbin/mpsutil/mps_show.c           |  811 +++++++
 usr.sbin/mpsutil/mpsutil.8            |  165 ++
 usr.sbin/mpsutil/mpsutil.c            |  236 ++
 usr.sbin/mpsutil/mpsutil.h            |  157 ++
 48 files changed, 34660 insertions(+), 6 deletions(-)
 create mode 100644 share/man/man4/mpr.4
 create mode 100644 sys/dev/raid/mpr/Makefile
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_cnfg.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_hbd.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_history.txt
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_init.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_ioc.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_pci.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_ra.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_raid.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_sas.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_targ.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_tool.h
 create mode 100644 sys/dev/raid/mpr/mpi/mpi2_type.h
 create mode 100644 sys/dev/raid/mpr/mpr.c
 create mode 100644 sys/dev/raid/mpr/mpr_config.c
 create mode 100644 sys/dev/raid/mpr/mpr_ioctl.h
 create mode 100644 sys/dev/raid/mpr/mpr_mapping.c
 create mode 100644 sys/dev/raid/mpr/mpr_mapping.h
 create mode 100644 sys/dev/raid/mpr/mpr_pci.c
 create mode 100644 sys/dev/raid/mpr/mpr_sas.c
 create mode 100644 sys/dev/raid/mpr/mpr_sas.h
 create mode 100644 sys/dev/raid/mpr/mpr_sas_lsi.c
 create mode 100644 sys/dev/raid/mpr/mpr_table.c
 create mode 100644 sys/dev/raid/mpr/mpr_table.h
 create mode 100644 sys/dev/raid/mpr/mpr_user.c
 create mode 100644 sys/dev/raid/mpr/mprvar.h
 create mode 100644 usr.sbin/mpsutil/Makefile
 create mode 100644 usr.sbin/mpsutil/mpr_ioctl.h
 create mode 100644 usr.sbin/mpsutil/mps_cmd.c
 create mode 100644 usr.sbin/mpsutil/mps_debug.c
 create mode 100644 usr.sbin/mpsutil/mps_flash.c
 create mode 100644 usr.sbin/mpsutil/mps_ioctl.h
 create mode 100644 usr.sbin/mpsutil/mps_show.c
 create mode 100644 usr.sbin/mpsutil/mpsutil.8
 create mode 100644 usr.sbin/mpsutil/mpsutil.c
 create mode 100644 usr.sbin/mpsutil/mpsutil.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fd501800cafe382e0751b7be1342c553b3335543


-- 
DragonFly BSD source repository



More information about the Commits mailing list