mps(4): Sync with FreeBSD.
authorSascha Wildner <saw@online.de>
Tue, 7 Feb 2012 08:42:32 +0000 (09:42 +0100)
committerSascha Wildner <saw@online.de>
Fri, 10 Feb 2012 10:31:34 +0000 (11:31 +0100)
commit32d73a71849067bab55e932e89e3cf75657c9891
tree6b119f57473148b12d8381a128f2531f591d0880
parentb5c0b8b2961e85db9aa2fa2c2cd1a77d91a692e5
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.
35 files changed:
share/man/man4/mps.4
sys/conf/files
sys/dev/disk/Makefile
sys/dev/disk/mps/Makefile [deleted file]
sys/dev/disk/mps/mps_ioctl.h [deleted file]
sys/dev/disk/mps/mps_sas.c [deleted file]
sys/dev/disk/mps/mps_user.c [deleted file]
sys/dev/disk/mps/mpsvar.h [deleted file]
sys/dev/raid/Makefile
sys/dev/raid/mps/Makefile [new file with mode: 0644]
sys/dev/raid/mps/mpi/mpi2.h [moved from sys/dev/disk/mps/mpi/mpi2.h with 94% similarity]
sys/dev/raid/mps/mpi/mpi2_cnfg.h [moved from sys/dev/disk/mps/mpi/mpi2_cnfg.h with 90% similarity]
sys/dev/raid/mps/mpi/mpi2_hbd.h [moved from sys/dev/disk/mps/mpi/mpi2_hbd.h with 72% similarity]
sys/dev/raid/mps/mpi/mpi2_history.txt [moved from sys/dev/disk/mps/mpi/mpi2_history.txt with 75% similarity]
sys/dev/raid/mps/mpi/mpi2_init.h [moved from sys/dev/disk/mps/mpi/mpi2_init.h with 91% similarity]
sys/dev/raid/mps/mpi/mpi2_ioc.h [moved from sys/dev/disk/mps/mpi/mpi2_ioc.h with 89% similarity]
sys/dev/raid/mps/mpi/mpi2_ra.h [moved from sys/dev/disk/mps/mpi/mpi2_ra.h with 71% similarity]
sys/dev/raid/mps/mpi/mpi2_raid.h [moved from sys/dev/disk/mps/mpi/mpi2_raid.h with 89% similarity]
sys/dev/raid/mps/mpi/mpi2_sas.h [moved from sys/dev/disk/mps/mpi/mpi2_sas.h with 86% similarity]
sys/dev/raid/mps/mpi/mpi2_targ.h [moved from sys/dev/disk/mps/mpi/mpi2_targ.h with 92% similarity]
sys/dev/raid/mps/mpi/mpi2_tool.h [moved from sys/dev/disk/mps/mpi/mpi2_tool.h with 82% similarity]
sys/dev/raid/mps/mpi/mpi2_type.h [moved from sys/dev/disk/mps/mpi/mpi2_type.h with 58% similarity]
sys/dev/raid/mps/mps.c [moved from sys/dev/disk/mps/mps.c with 70% similarity]
sys/dev/raid/mps/mps_config.c [new file with mode: 0644]
sys/dev/raid/mps/mps_ioctl.h [new file with mode: 0644]
sys/dev/raid/mps/mps_mapping.c [new file with mode: 0644]
sys/dev/raid/mps/mps_mapping.h [copied from sys/dev/disk/mps/mps_table.h with 51% similarity]
sys/dev/raid/mps/mps_pci.c [moved from sys/dev/disk/mps/mps_pci.c with 69% similarity]
sys/dev/raid/mps/mps_sas.c [new file with mode: 0644]
sys/dev/raid/mps/mps_sas.h [new file with mode: 0644]
sys/dev/raid/mps/mps_sas_lsi.c [new file with mode: 0644]
sys/dev/raid/mps/mps_table.c [moved from sys/dev/disk/mps/mps_table.c with 94% similarity]
sys/dev/raid/mps/mps_table.h [moved from sys/dev/disk/mps/mps_table.h with 100% similarity]
sys/dev/raid/mps/mps_user.c [new file with mode: 0644]
sys/dev/raid/mps/mpsvar.h [new file with mode: 0644]