#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
196955 |
|
07-Sep-2009 |
sbruno |
A few enhancements I made while working on the Firewire target (sbp_targ).
Update the error handling in a couple of cases to exit gracefully if certain mandatory conditions aren't met.
Reduce the maximum number of initiators to 8 for this example code. While 1024 is more correct, this example code would act like it was stalled out even though it was merely allocating the needed structures in init_ccbs()
Reviewed by: scottl@freebsd.org
|
#
162704 |
|
27-Sep-2006 |
mjacob |
Bump MAX_INITIATORS to 1024- the LSI-Logic can go even higher than this for 'initiator id'- this is a stopgap until a sparse map is added.
Make compat defines for offset format (FreeBSD 5 or less).
Add no-asyncio flag. There's some breakage with ASYNC I/O that every now and then drops us into an infinite loop. This also then does a fallback to no-asyncio if the AIO option isn't loaded/compiled into the kernel.
A number of other chanes to try and track some breakage.
|
#
124307 |
|
09-Jan-2004 |
njl |
Bump the max number of initiators to 256 from 16. This is appropriate for fibre channel and shouldn't hurt SPI.
|
#
121184 |
|
18-Oct-2003 |
simokawa |
- Enable 16byte commands. - Fix printf warnings on 64bit architectures. - Accept 'k', 'm' and etc. for -s option.
Reviewed by: njl
|
#
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
|