Date: Tue, 18 Feb 2003 14:07:11 -0800 (PST) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_target.c scsi_targetio.h src/share/examples/scsi_target Makefile scsi_cmds.c scsi_target.8 scsi_target.c scsi_target.h src/share/man/man4 Makefile targ.4 Message-ID: <200302182207.h1IM7BGb025719@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2003/02/18 14:07:11 PST Modified files: (Branch: RELENG_4) sys/cam/scsi scsi_target.c scsi_targetio.h share/examples/scsi_target Makefile scsi_target.c share/man/man4 Makefile Added files: (Branch: RELENG_4) share/examples/scsi_target scsi_cmds.c scsi_target.8 scsi_target.h share/man/man4 targ.4 Log: MFC: 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. Approved by: re (scottl) Revision Changes Path 1.2.2.1 +4 -2 src/share/examples/scsi_target/Makefile 1.2.2.1 +665 -0 src/share/examples/scsi_target/scsi_cmds.c (new) 1.2.4.1 +147 -0 src/share/examples/scsi_target/scsi_target.8 (new) 1.5.2.5 +798 -239 src/share/examples/scsi_target/scsi_target.c 1.1.4.1 +117 -0 src/share/examples/scsi_target/scsi_target.h (new) 1.83.2.61 +1 -0 src/share/man/man4/Makefile 1.3.2.1 +153 -0 src/share/man/man4/targ.4 (new) 1.22.2.7 +871 -2017 src/sys/cam/scsi/scsi_target.c 1.5.2.3 +26 -78 src/sys/cam/scsi/scsi_targetio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302182207.h1IM7BGb025719>