freebsd-nq/sys/cam/scsi
Matt Jacob 26fd36dffa Clean up and fix quirk table (was missing necessary wildcards) and add a couple
from the old driver. Change format of quirk table to have a preferred block
size for devices that need to be QUIRK_FIXED- this is loaded into the
last_media_blocksize tag at saregister time and will be used in the first
samount case.

Change sasetparams to take a sense_flags argument so that probe time testing
can be quieter (e.g. with SF_NO_PRINT).

Fix a couple of silly bugs in the fixed/variable determination in samount- one
was where there was a check against 'guessing' AND the density code being
default density- *SMACK* - you're only guessing if you find the media code
to be *other* than default density. Second bug was a test against current
blocksize being zero- should be a test against whether current blocksize
is not equal to the last blocksize if you had wanted to be fixed (suppose
you came up in fixed, but not the preferred size?). And if you don't
know what the fixed size should be, select 512 as the starting point,
not BLKDEV_IOSIZE (reality wins). Finally, in doing the test set to variable
mode, make sasetparams non-chatty.
1999-01-12 08:15:47 +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 in named SID field revision names (including CCS). 1998-12-05 22:10:14 +00:00
scsi_cd.c Add 'static' to the declaration, too. 1999-01-11 17:45:22 +00:00
scsi_cd.h
scsi_ch.c Staticize. 1998-12-22 20:05:23 +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 A better fix to avoid race conditions between failed probes 1999-01-07 20:19:09 +00:00
scsi_da.h
scsi_message.h
scsi_pass.c
scsi_pass.h
scsi_pt.c
scsi_pt.h
scsi_sa.c Clean up and fix quirk table (was missing necessary wildcards) and add a couple 1999-01-12 08:15:47 +00:00
scsi_sa.h Add structures and function definitions pertinent for hardware locate support. 1998-12-18 04:29:16 +00:00
scsi_target.c Correctly track allocated accept target I/O ccbs so that they can be 1998-12-17 00:03:14 +00:00
scsi_targetio.h