NetBSD/sys/scsi
thorpej f60341a382 Store the SCSI version in the scsi_link, and set the LUN in the CDB
if the version is <= SCSI-2.  This should help some older SCSI
devices that previously needed the "NOLUNS" quirk.  While this is
not strictly necessary on SCSI-2 devices, the spec allows it,
so we set it for SCSI-2 devices "just in case".  See section 7.2.2 of
Draft X3T9.2 Rev 10L for details.
1996-09-03 18:20:31 +00:00
..
README Remove a bunch of stuff which is outdated and/or doesn't belong here. 1995-06-02 14:04:36 +00:00
cd.c be quiet about read_subchannel. Some CD players use this to poll, and having 1996-08-13 08:55:38 +00:00
ch.c gcc -Wall delinting: unused variables, assignments inside if's and missing 1996-04-19 00:02:29 +00:00
files.scsi Slight adjustments for new version of ahc driver. 1996-05-16 04:00:58 +00:00
scsi_all.h Store the SCSI version in the scsi_link, and set the LUN in the CDB 1996-09-03 18:20:31 +00:00
scsi_base.c Store the SCSI version in the scsi_link, and set the LUN in the CDB 1996-09-03 18:20:31 +00:00
scsi_cd.h Define a full set of [234][bl]tol() and lto[234][bl]() conversion functions, 1996-03-19 03:05:15 +00:00
scsi_changer.h New SCSI media changer driver, written from scratch by me. Some 1996-04-03 00:25:21 +00:00
scsi_debug.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_disk.h - Apply PR/2535: Add support for flex scsi disks. 1996-07-05 16:19:02 +00:00
scsi_ioctl.c scsi prototypes 1996-02-14 21:46:52 +00:00
scsi_message.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_scanner.h Define a full set of [234][bl]tol() and lto[234][bl]() conversion functions, 1996-03-19 03:05:15 +00:00
scsi_tape.h Implement ST_Q_UNIMODAL quirk, which indicates that a drive will reject 1996-05-24 02:04:29 +00:00
scsiconf.c Store the SCSI version in the scsi_link, and set the LUN in the CDB 1996-09-03 18:20:31 +00:00
scsiconf.h Store the SCSI version in the scsi_link, and set the LUN in the CDB 1996-09-03 18:20:31 +00:00
sd.c - Apply PR/2535: Add support for flex scsi disks. 1996-07-05 16:19:02 +00:00
ss.c Some MUSTEK scanners fill the vendor string in the SCSI identify 1996-07-12 16:49:50 +00:00
ss_mustek.c Cleanup the rest of the SCSIDEBUG printfs. From Bernd Ernesti. 1996-05-05 19:52:50 +00:00
ss_mustek.h Define a full set of [234][bl]tol() and lto[234][bl]() conversion functions, 1996-03-19 03:05:15 +00:00
ss_scanjet.c Added prototypes for inline functions atoi() and strchr(). 1996-05-18 22:58:01 +00:00
ssvar.h - Eliminate scsi_conf.h 1996-03-30 21:47:00 +00:00
st.c Implement ST_Q_UNIMODAL quirk, which indicates that a drive will reject 1996-05-24 02:04:29 +00:00
su.c New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +00:00
uk.c New device attachment scheme: 1996-03-17 00:57:14 +00:00

README

/*	$NetBSD: README,v 1.6 1995/06/02 14:04:36 mycroft Exp $	*/

This release consists of the following files 

share/man/man4/scsi.4 <-useful general info
share/man/man4/uk.4
share/man/man4/su.4
share/man/man4/ch.4
share/man/man4/cd.4
share/man/man4/sd.4
share/man/man4/st.4 <--READ THIS IF YOU USE TAPES!
sbin/scsi/procargs.c
sbin/scsi/scsi.c
sbin/scsi/scsi.1
sbin/scsi/Makefile
sbin/st/Makefile
sbin/st/st.1
sbin/st/st.c


################## Using the scsi system ##################
--------------making devices------------
see st(1) and st(4) for info on tape devices.

---------ioctl definitions-------------
User accessable structures (e.g. ioctl definitions) have been
placed in sys/cdio, sys/sgio and sys/chio (based after sys/mtio for
the ioctls for mag tapes (including st).
General scsi ioctls are found in sys/scsiio.h.

-----------cd-rom-----------------
Cdrom audio is only suported at all for cdroms that use SCSI2 audio
definitions.

-------------media changer---------------
Once again courtesy of grefen@convex.com (in germany)
I have not tested this but he assures me it's ready for testing.
If anyone has an exabyte tape changer or similar, 
contact the author for information regarding the control interface
and program.

WARNING: This has not been tested for a LONG TIME!