summaryrefslogtreecommitdiffstats
path: root/sys/modules/twa
diff options
context:
space:
mode:
authorvkashyap <vkashyap@FreeBSD.org>2004-03-30 03:46:00 +0000
committervkashyap <vkashyap@FreeBSD.org>2004-03-30 03:46:00 +0000
commit8e955dcc90e6fcdb18ba53e81e20708338bc789c (patch)
tree623cbfd615ac0a0d35a46f318c43bd51f2970101 /sys/modules/twa
parentb5754b53162b54f5e6a32a3820abf8d8e9836fe1 (diff)
downloadFreeBSD-src-8e955dcc90e6fcdb18ba53e81e20708338bc789c.zip
FreeBSD-src-8e955dcc90e6fcdb18ba53e81e20708338bc789c.tar.gz
Initial check-in of the device driver for 3ware's 9000 series
PATA/SATA RAID controllers. This driver is a SIM under CAM, and so, behaves like a driver for a SCSI controller.
Diffstat (limited to 'sys/modules/twa')
-rw-r--r--sys/modules/twa/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/modules/twa/Makefile b/sys/modules/twa/Makefile
new file mode 100644
index 0000000..0e578d3
--- /dev/null
+++ b/sys/modules/twa/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+#
+# Uncomment the following line to bundle firmware with the driver,
+# which may be flashed onto the controller, if the firmware on the
+# controller is older than the one bundled, and needs to be upgraded.
+# The size of the driver will increase significantly (to over 500KB)
+# if this option is selected.
+#
+FLASH_FIRMWARE=1
+
+KMOD = twa
+.PATH: ${.CURDIR}/../../dev/${KMOD}
+SRCS = twa_freebsd.c twa_cam.c twa.c twa_globals.c \
+ bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h
+
+.if defined(FLASH_FIRMWARE)
+CFLAGS+=-DTWA_FLASH_FIRMWARE
+SRCS += twa_fwimg.c
+.endif
+
+#CFLAGS+=-DTWA_DEBUG=0
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud