#
107178 |
|
22-Nov-2002 |
njl |
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
|
#
49929 |
|
16-Aug-1999 |
gibbs |
Checkpoint work on handling error conditions.
Handle errors reported through immediate notify ccbs. This includes bus resets, BDR messages, and abort messages.
Properly setup CA conditions for errors such as uncorectable parity in data phases, reselection failure, and IDE message received.
Add a mechanism for stalling the queue of transactions to a particular initiator while a CA is in progress. Since we don't yet support tagged I/O, this is largely just for show right now.
Properly bzero our softc at init time (oops).
Add more documentation on what all of the queues in our softc do.
|
#
39213 |
|
15-Sep-1998 |
gibbs |
SCSI Peripheral drivers for CAM:
da - Direct Access Devices (disks, optical devices, SS disks) cd - CDROM (or devices that can act like them, WORM, CD-RW, etc) ch - Medium Changer devices. sa - Sequential Access Devices (tape drives) pass - Application pass-thru driver targ - Target Mode "Processor Target" Emulator pt - Processor Target Devices (scanners, cpus, etc.)
Submitted by: The CAM Team
|