freebsd-skq/sys/cam/scsi
Matt Jacob bd1b9cb70f Add a SA_FLAG_COMP_SUPP flag (to quirk compression as
SUPPORTED). Add a SA_FLAG_TAPE_FROZEN for (see below).
Add a queue_count field to softc.

Add HP T20* Travan-5 like tape device as a FIXED/512 type device.
Works for me. Add TANDBERG SLR5 as a variable SA_QUIRK_1FM device.
Change VIPER 2525 to 1024 byte blocksize. It's possible other
drives should change too, but see below..

Change argument to sagetparams to be pointer to a sa_comp_t union-
this can be either a DATA COMPRESSION or a DEVICE CONFIGURATION
page. In general compression now tries to use the DATA COMPRESSION
page and if that fails tries the DEVICE CONFIGURATION page.

Change close routine to not rewind tape if there's a failure in either
writing filemarks or in backing over one of two filemarks for a 2FM
at EOT tape- instead mark the tape as 'frozen' and print a message
saying that either an OFFLINE or REWIND or an MTEOM command is needed
to clear this state (all bring certainty back to tape position). Fix
sastrategy to not allow I/O to a frozen tape.

Add MTIOCGETEOTMODEL/MTIOCSETEOTMODEL ioctls that get and set the EOT
model for a tape drive (you can now dynamically change whether it's
a 2 FM @ EOT or 1FM at EOT tape device). This ought to give folks
something to handle the QIC drives we don't know about. Correctly propagate
record of compression algorithm back. Clear FROZEN flag for EOM, REWIND
and OFFLINE (and RETENSION and ERASE) cases.

Fix an egregious bug in sadone that had left the device queue frozen
for deferred (for fixed mode case) errors.

Add comment in samount about how useless the test unit ready is for
invalidating a mount (this has to be fixed later).

Fix residual calculation (per Eivind) in saerror so that negative values
for tape records being too large for the supplied buffer get caught. Do
some other saerrro cleanup.

Per Ken && Justin, add my name to copyright comment.
1999-05-11 04:01:35 +00:00
..
scsi_all.c Do not attempt to retry commands that fail with ILLEGAL REQUEST status. 1998-12-11 03:53:05 +00:00
scsi_all.h Add a facility in the CAM error handling code to retry selection timeouts. 1999-05-09 01:25:34 +00:00
scsi_cd.c Add a facility in the CAM error handling code to retry selection timeouts. 1999-05-09 01:25:34 +00:00
scsi_cd.h Some fixes to the CD driver that may fix PR kern/7996. The data direction 1998-09-20 22:48:15 +00:00
scsi_ch.c Add a facility in the CAM error handling code to retry selection timeouts. 1999-05-09 01:25:34 +00:00
scsi_ch.h Correct the definition of the changer device capabilities page. The 1998-12-17 22:26:39 +00:00
scsi_da.c Add a facility in the CAM error handling code to retry selection timeouts. 1999-05-09 01:25:34 +00:00
scsi_da.h Fix the CAM code so that people can compile kernels with the CD driver but 1998-09-18 22:33:59 +00:00
scsi_message.h
scsi_pass.c Add a facility in the CAM error handling code to retry selection timeouts. 1999-05-09 01:25:34 +00:00
scsi_pass.h Add a number of interrelated CAM feature enhancements and bug fixes. 1999-05-06 20:16:39 +00:00
scsi_pt.c Add a facility in the CAM error handling code to retry selection timeouts. 1999-05-09 01:25:34 +00:00
scsi_pt.h
scsi_sa.c Add a SA_FLAG_COMP_SUPP flag (to quirk compression as 1999-05-11 04:01:35 +00:00
scsi_sa.h Make clear that the DATA COMPRESSION page is a SCSI-3 entity- not a SCSI-2 1999-05-11 02:23:37 +00:00
scsi_targ_bh.c Silence errors. 1999-03-05 23:21:28 +00:00
scsi_target.c Introduce two functions: physread() and physwrite() and use these directly 1999-05-07 07:03:47 +00:00
scsi_targetio.h Implement the control device for the "targ" target mode processor target 1999-03-05 23:25:11 +00:00