summaryrefslogtreecommitdiffstats
path: root/sys/modules/cam
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2002-11-22 22:55:51 +0000
committernjl <njl@FreeBSD.org>2002-11-22 22:55:51 +0000
commitaeab0b1a1869e24828db1a4a45df921e4d2673da (patch)
tree60367d753c053b106c51fbbc085b3a0433b196a5 /sys/modules/cam
parenta52def4e3fb09991ac89994427cc83679843d652 (diff)
downloadFreeBSD-src-aeab0b1a1869e24828db1a4a45df921e4d2673da.zip
FreeBSD-src-aeab0b1a1869e24828db1a4a45df921e4d2673da.tar.gz
New SCSI target emulator code
This code allows a user program to enable target mode on a SIM and then emulate any number of devices (disks, tape drives, etc.) All decisions about device behavior (UA, CA, inquiry response) are left to the usermode program and the kernel driver is merely a conduit for CCBs. This enables multiple concurrent target emulators, each using its own backing store and IO model. Also included is a user program that emulates a disk (RBC) using a file as a backing store. This provides functionality similar to md(4) at the CAM layer. Code has been tested on ahc(4) and should also work on isp(4) (and other SIMs that gain target mode support). It is a complete rewrite of /sys/cam/scsi_target* and /usr/share/examples/scsi_target. Design, comments from: gibbs Supported by: Cryptography Research Approved by: re
Diffstat (limited to 'sys/modules/cam')
-rw-r--r--sys/modules/cam/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/cam/Makefile b/sys/modules/cam/Makefile
index 633668d..0f0d238 100644
--- a/sys/modules/cam/Makefile
+++ b/sys/modules/cam/Makefile
@@ -15,7 +15,7 @@ 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+= device_if.h bus_if.h vnode_if.h
SRCS+= cam.c cam_periph.c cam_queue.c
SRCS+= cam_sim.c cam_xpt.c
SRCS+= scsi_all.c scsi_cd.c scsi_ch.c
OpenPOWER on IntegriCloud