summaryrefslogtreecommitdiffstats
path: root/sys/modules/cam
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-08-13 18:49:40 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-08-13 18:49:40 +0000
commitcbb74c17bdde9e04efd4115114940217143abe93 (patch)
treef008fa927436b05de6cb7f877e62d71234d3d789 /sys/modules/cam
parenta6c3c8dbfbbbdbe8e9dc451f059eec365e4825a1 (diff)
downloadFreeBSD-src-cbb74c17bdde9e04efd4115114940217143abe93.zip
FreeBSD-src-cbb74c17bdde9e04efd4115114940217143abe93.tar.gz
CAM, the module: scbus, da, cd, and st wrapped in one module.
Make the umass driver depend on this module. Makes it possible to compile the kernel without SCSI support and load it when for example a USB floppy is conencted.
Diffstat (limited to 'sys/modules/cam')
-rw-r--r--sys/modules/cam/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys/modules/cam/Makefile b/sys/modules/cam/Makefile
new file mode 100644
index 0000000..2075d39
--- /dev/null
+++ b/sys/modules/cam/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+MAINTAINER = n_hibma@freebsd.org
+S = ${.CURDIR}/../..
+
+.PATH: $S/cam $S/cam/scsi
+KMOD = cam
+
+# See sys/conf/options for the flags that go into the different opt_*.h files.
+SRCS = opt_cam.h
+SRCS += opt_scsi.h
+SRCS += opt_cd.h
+SRCS += opt_hw_wdog.h
+SRCS += opt_pt.h
+SRCS += opt_sa.h
+SRCS += opt_ses.h
+SRCS += device_if.h bus_if.h
+SRCS += cam.c cam_extend.c cam_periph.c cam_queue.c
+SRCS += cam_sim.c cam_xpt.c
+SRCS += scsi_all.c scsi_cd.c scsi_ch.c
+SRCS += scsi_da.c
+SRCS += scsi_pass.c
+SRCS += scsi_pt.c
+SRCS += scsi_sa.c
+SRCS += scsi_ses.c
+SRCS += scsi_targ_bh.c scsi_target.c
+
+NOMAN =
+
+opt_scsi.h:
+ echo '#define SCSI_DELAY 15000' > opt_scsi.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud