git: mps(4): Sync with FreeBSD.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Feb 7 00:43:40 PST 2012


commit c12c399a1f4ca85fa32e64e159acf5cd2259d897
Author: Sascha Wildner <saw at online.de>
Date:   Tue Feb 7 09:42:32 2012 +0100

    mps(4): Sync with FreeBSD.
    
    This a still in progress port of the new, LSI-supported version of the
    mps(4) driver from FreeBSD.
    
    Some of the changes are (from FreeBSD's commit msg):
    
    - Integrated RAID (IR) support.
    - Support for WarpDrive controllers.
    - Support for SCSI protection information (EEDP).
    - Support for TLR (Transport Level Retries), needed for tape drives.
    - Improved error recovery code.
    - ioctl interface compatible with LSI utilities.
    
    This commit also moves the driver from sys/dev/disk to sys/dev/raid.
    
    It still fails attaching at this stage. Work on it will continue in
    master.

Summary of changes:
 share/man/man4/mps.4                   |   32 +-
 sys/conf/files                         |   13 +-
 sys/dev/disk/Makefile                  |    2 +-
 sys/dev/disk/mps/Makefile              |   10 -
 sys/dev/disk/mps/mpi/mpi2.h            | 1120 -----------
 sys/dev/disk/mps/mpi/mpi2_cnfg.h       | 2645 --------------------------
 sys/dev/disk/mps/mpi/mpi2_hbd.h        |  112 --
 sys/dev/disk/mps/mpi/mpi2_history.txt  |  381 ----
 sys/dev/disk/mps/mpi/mpi2_init.h       |  452 -----
 sys/dev/disk/mps/mpi/mpi2_ioc.h        | 1413 --------------
 sys/dev/disk/mps/mpi/mpi2_ra.h         |   84 -
 sys/dev/disk/mps/mpi/mpi2_raid.h       |  301 ---
 sys/dev/disk/mps/mpi/mpi2_sas.h        |  283 ---
 sys/dev/disk/mps/mpi/mpi2_targ.h       |  440 -----
 sys/dev/disk/mps/mpi/mpi2_tool.h       |  390 ----
 sys/dev/disk/mps/mpi/mpi2_type.h       |   98 -
 sys/dev/disk/mps/mps.c                 | 1814 ------------------
 sys/dev/disk/mps/mps_ioctl.h           |  106 --
 sys/dev/disk/mps/mps_pci.c             |  370 ----
 sys/dev/disk/mps/mps_sas.c             | 2016 --------------------
 sys/dev/disk/mps/mps_table.c           |  495 -----
 sys/dev/disk/mps/mps_user.c            |  943 ----------
 sys/dev/disk/mps/mpsvar.h              |  389 ----
 sys/dev/raid/Makefile                  |    2 +-
 sys/dev/raid/mps/Makefile              |   14 +
 sys/dev/raid/mps/mpi/mpi2.h            | 1162 ++++++++++++
 sys/dev/raid/mps/mpi/mpi2_cnfg.h       | 2886 ++++++++++++++++++++++++++++
 sys/dev/raid/mps/mpi/mpi2_hbd.h        |  140 ++
 sys/dev/raid/mps/mpi/mpi2_history.txt  |  476 +++++
 sys/dev/raid/mps/mpi/mpi2_init.h       |  479 +++++
 sys/dev/raid/mps/mpi/mpi2_ioc.h        | 1565 +++++++++++++++
 sys/dev/raid/mps/mpi/mpi2_ra.h         |  113 ++
 sys/dev/raid/mps/mpi/mpi2_raid.h       |  332 ++++
 sys/dev/raid/mps/mpi/mpi2_sas.h        |  316 ++++
 sys/dev/raid/mps/mpi/mpi2_targ.h       |  473 +++++
 sys/dev/raid/mps/mpi/mpi2_tool.h       |  467 +++++
 sys/dev/raid/mps/mpi/mpi2_type.h       |  127 ++
 sys/dev/raid/mps/mps.c                 | 2298 +++++++++++++++++++++++
 sys/dev/raid/mps/mps_config.c          | 1390 ++++++++++++++
 sys/dev/raid/mps/mps_ioctl.h           |  387 ++++
 sys/dev/raid/mps/mps_mapping.c         | 2265 ++++++++++++++++++++++
 sys/dev/raid/mps/mps_mapping.h         |   71 +
 sys/dev/raid/mps/mps_pci.c             |  344 ++++
 sys/dev/raid/mps/mps_sas.c             | 3234 ++++++++++++++++++++++++++++++++
 sys/dev/raid/mps/mps_sas.h             |  161 ++
 sys/dev/raid/mps/mps_sas_lsi.c         |  862 +++++++++
 sys/dev/raid/mps/mps_table.c           |  500 +++++
 sys/dev/{disk => raid}/mps/mps_table.h |    0
 sys/dev/raid/mps/mps_user.c            | 2399 +++++++++++++++++++++++
 sys/dev/raid/mps/mpsvar.h              |  768 ++++++++
 50 files changed, 23255 insertions(+), 13885 deletions(-)
 delete mode 100644 sys/dev/disk/mps/Makefile
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_cnfg.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_hbd.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_history.txt
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_init.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_ioc.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_ra.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_raid.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_sas.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_targ.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_tool.h
 delete mode 100644 sys/dev/disk/mps/mpi/mpi2_type.h
 delete mode 100644 sys/dev/disk/mps/mps.c
 delete mode 100644 sys/dev/disk/mps/mps_ioctl.h
 delete mode 100644 sys/dev/disk/mps/mps_pci.c
 delete mode 100644 sys/dev/disk/mps/mps_sas.c
 delete mode 100644 sys/dev/disk/mps/mps_table.c
 delete mode 100644 sys/dev/disk/mps/mps_user.c
 delete mode 100644 sys/dev/disk/mps/mpsvar.h
 create mode 100644 sys/dev/raid/mps/Makefile
 create mode 100644 sys/dev/raid/mps/mpi/mpi2.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_cnfg.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_hbd.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_history.txt
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_init.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_ioc.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_ra.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_raid.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_sas.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_targ.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_tool.h
 create mode 100644 sys/dev/raid/mps/mpi/mpi2_type.h
 create mode 100644 sys/dev/raid/mps/mps.c
 create mode 100644 sys/dev/raid/mps/mps_config.c
 create mode 100644 sys/dev/raid/mps/mps_ioctl.h
 create mode 100644 sys/dev/raid/mps/mps_mapping.c
 create mode 100644 sys/dev/raid/mps/mps_mapping.h
 create mode 100644 sys/dev/raid/mps/mps_pci.c
 create mode 100644 sys/dev/raid/mps/mps_sas.c
 create mode 100644 sys/dev/raid/mps/mps_sas.h
 create mode 100644 sys/dev/raid/mps/mps_sas_lsi.c
 create mode 100644 sys/dev/raid/mps/mps_table.c
 rename sys/dev/{disk => raid}/mps/mps_table.h (100%)
 create mode 100644 sys/dev/raid/mps/mps_user.c
 create mode 100644 sys/dev/raid/mps/mpsvar.h

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list