freebsd-src/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 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 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 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 Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_pass.c Fix a few problems that Bruce noticed about a month ago, and fix oup one 1998-11-22 23:44:47 +00:00
scsi_pass.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_pt.c Fix a few problems that Bruce noticed about a month ago, and fix oup one 1998-11-22 23:44:47 +00:00
scsi_pt.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
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 SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00