summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-03-25 06:14:32 +0000
committerscottl <scottl@FreeBSD.org>2006-03-25 06:14:32 +0000
commitfe1496da44b19de48bc39dcbbef393c2ae22bc56 (patch)
treef74da8ce7c47126823a5815303ce0a1ee9b5410a /sys/modules
parent679e2338c09d03cb422a66ef721902bd8db95572 (diff)
downloadFreeBSD-src-fe1496da44b19de48bc39dcbbef393c2ae22bc56.zip
FreeBSD-src-fe1496da44b19de48bc39dcbbef393c2ae22bc56.tar.gz
Add a driver for the new LSI MegaRAID SAS controller family. The 'MFI' name
is derived from the phrase 'MegaRAID Firmware Interface' used by LSI. This driver provides a block interface to logical disks on the card and a minimal management device. It is MPSAFE, INTR_FAST, and 64-bit capable. Thanks to Dell for providing hardware to test with and IronPort for sponsoring the work. Sponsored by: Dell, Ironport MFC After: 3 days
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/mfi/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/modules/mfi/Makefile b/sys/modules/mfi/Makefile
new file mode 100644
index 0000000..6d0ddf4
--- /dev/null
+++ b/sys/modules/mfi/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/mfi
+
+KMOD= mfi
+SRCS= mfi.c mfi_pci.c mfi_disk.c
+SRCS+= opt_mfi.h
+SRCS+= device_if.h bus_if.h pci_if.h
+CFLAGS+= -Wall -Werror
+
+# To enable debug output from the driver, uncomment these two lines.
+#CFLAGS+= -DMFI_DEBUG=2
+#SRCS+= mfi_debug.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud