NetBSD/sys/scsi
thorpej c9895db015 In both cd.c and sd.c:
If the read or write request can fit into a 6-byte cdb, then
	use a 6-byte cdb, otherwise use the 10-byte as before.

In sd.c:
	In sdattach(), make a note if the device is "ancient" (i.e.
	inqbuf.version & SID_ANSII == 0).

	Implement sdminphys(): if the device is "ancient", shorten the
	transfer so it will fit into a 6-byte cdb.

These changes have eliminated the rejected read/write requests on my
Sun 3/60 with 2 ESDI disks behind an Emulex MD21.
1995-12-07 19:11:32 +00:00
..
cd.c In both cd.c and sd.c: 1995-12-07 19:11:32 +00:00
ch.c Remove unused macros. 1995-01-16 21:31:34 +00:00
files.scsi config.new description of SCSI mi files. 1995-04-17 07:15:40 +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
scsi_all.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_base.c Don't declare Debugger(). It's handled in <sys/systm.h>. 1995-09-26 19:26:48 +00:00
scsi_cd.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_changer.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +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 Add missing spindle synch control, rotational offset, and RPM members 1995-10-15 23:32:02 +00:00
scsi_ioctl.c Don't declare Debugger(). It's handled in <sys/systm.h>. 1995-09-26 19:26:48 +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_tape.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsiconf.c More rogues. 1995-11-01 01:15:07 +00:00
scsiconf.h minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
sd.c In both cd.c and sd.c: 1995-12-07 19:11:32 +00:00
st.c Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797). 1995-11-30 10:12:04 +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 fix syntax error. Andreas Gustafsson <gson@clinet.fi> 1995-03-24 20:17:15 +00:00

/*	$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!