summaryrefslogtreecommitdiffstats
path: root/sys/dev/mps/mps_table.c
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2012-01-26 18:17:21 +0000
committerken <ken@FreeBSD.org>2012-01-26 18:17:21 +0000
commit9e157c5aece56db2baf55253289ede7ecfef72b0 (patch)
tree40d4c8e4ee1e48d5ade6eb6e61dfec60342fd8a6 /sys/dev/mps/mps_table.c
parent7b6e352dc6de233372b2374a31b24815cde2ec92 (diff)
downloadFreeBSD-src-9e157c5aece56db2baf55253289ede7ecfef72b0.zip
FreeBSD-src-9e157c5aece56db2baf55253289ede7ecfef72b0.tar.gz
Bring in the LSI-supported version of the mps(4) driver.
This involves significant changes to the mps(4) driver, but is not a complete rewrite. Some of the changes in this version of the driver: - 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. mps.4: Update the mps(4) driver man page somewhat for the driver changes. The list of supported hardware still needs to be updated to reflect the full list of supported cards. conf/files: Add the new driver files. mps/mpi/*: Updated version of the MPI header files, with a BSD style copyright. mps/*: See above for a description of the new driver features. modules/mps/Makefile: Add the new mps(4) driver files. Submitted by: Kashyap Desai <Kashyap.Desai@lsi.com> Reviewed by: ken MFC after: 1 week
Diffstat (limited to 'sys/dev/mps/mps_table.c')
-rw-r--r--sys/dev/mps/mps_table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/mps/mps_table.c b/sys/dev/mps/mps_table.c
index 55110a1..c9acefe 100644
--- a/sys/dev/mps/mps_table.c
+++ b/sys/dev/mps/mps_table.c
@@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$");
/* Debugging tables for MPT2 */
+/* TODO Move headers to mpsvar */
#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
@@ -41,6 +42,9 @@ __FBSDID("$FreeBSD$");
#include <sys/malloc.h>
#include <sys/uio.h>
#include <sys/sysctl.h>
+#include <sys/queue.h>
+#include <sys/kthread.h>
+#include <sys/taskqueue.h>
#include <machine/bus.h>
#include <machine/resource.h>
@@ -53,6 +57,8 @@ __FBSDID("$FreeBSD$");
#include <dev/mps/mpi/mpi2_ioc.h>
#include <dev/mps/mpi/mpi2_cnfg.h>
#include <dev/mps/mpi/mpi2_init.h>
+#include <dev/mps/mpi/mpi2_tool.h>
+#include <dev/mps/mps_ioctl.h>
#include <dev/mps/mpsvar.h>
#include <dev/mps/mps_table.h>
OpenPOWER on IntegriCloud