summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2010-09-10 15:03:56 +0000
committerken <ken@FreeBSD.org>2010-09-10 15:03:56 +0000
commitf65b2b217cdfbb291fef1ab91a5f28139b22713c (patch)
tree98f5fcb0fc834170d700ee0cc71ef53f54f14594 /sys/modules
parentefe7ba3626116d936606a269f5a3225eae0bb76b (diff)
downloadFreeBSD-src-f65b2b217cdfbb291fef1ab91a5f28139b22713c.zip
FreeBSD-src-f65b2b217cdfbb291fef1ab91a5f28139b22713c.tar.gz
MFp4 (//depot/projects/mps/...)
Bring in a driver for the LSI Logic MPT2 6Gb SAS controllers. This driver supports basic I/O, and works with SAS and SATA drives and expanders. Basic error recovery works (i.e. timeouts and aborts) as well. Integrated RAID isn't supported yet, and there are some known bugs. So this isn't ready for production use, but is certainly ready for testing and additional development. For the moment, new commits to this driver should go into the FreeBSD Perforce repository first (//depot/projects/mps/...) and then get merged into -current once they've been vetted. This has only been added to the amd64 GENERIC, since that is the only architecture I have tested this driver with. Submitted by: scottl Discussed with: imp, gibbs, will Sponsored by: Yahoo, Spectra Logic Corporation
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/mps/Makefile13
2 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 80850bd..452cc8f 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -185,6 +185,7 @@ SUBDIR= ${_3dfx} \
${_mly} \
mmc \
mmcsd \
+ mps \
mpt \
mqueue \
msdosfs \
diff --git a/sys/modules/mps/Makefile b/sys/modules/mps/Makefile
new file mode 100644
index 0000000..f8f520b
--- /dev/null
+++ b/sys/modules/mps/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/mps
+
+KMOD= mps
+SRCS= mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c
+SRCS+= opt_mps.h opt_cam.h
+SRCS+= device_if.h bus_if.h pci_if.h
+
+#CFLAGS += -DMPS_DEBUG
+DEBUG += -g
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud