freebsd-src/sys/cam/scsi
Kenneth D. Merry 8e35ba93ae Add the quirk entry framework to handle disabling the synchronize cache
command on drives that don't like it.  Right now, there's just a bogus
quirk entry in the table that doesn't do anything, but that should be
changed once we get actual inquiry data for drives that don't like the
synchronize cache command.

Also, add a shutdown hook that runs through all direct access peripherals
and runs a synchronize cache on them if they're still open, and if
synchronize cache isn't disabled via a quirk entry.

Add a synchronize cache call at the end of dadump() (again, conditionalized
on the quirk entry), so we can insure that the disk cache contents get
flushed to physical media after a dump.

Check the new quirk entry in daclose() to decide whether or not to
synchronize the cache for a disk at final close.

Reviewed by:	gibbs
1998-10-08 05:46:38 +00:00
..
scsi_all.c Add a new CAM debugging mode, CAM_DEBUG_CDB. This causes the kernel to 1998-10-02 21:00:58 +00:00
scsi_all.h Modify the changer driver so it can handle (hopefully!) changers that need 1998-10-02 05:25:49 +00:00
scsi_cd.c Some fixes for the CD and DA drivers from bde. (and some of my own as 1998-10-07 02:57:57 +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 Fix a printf format warning that shows up when CAMDEBUG is defined. 1998-10-02 21:20:21 +00:00
scsi_ch.h
scsi_da.c Add the quirk entry framework to handle disabling the synchronize cache 1998-10-08 05:46:38 +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 Check to make sure that this device is opened read-write, not just read 1998-09-16 00:11:53 +00:00
scsi_pass.h
scsi_pt.c
scsi_pt.h
scsi_sa.c Patches from DES to create three new kernel config options to control 1998-10-02 05:15:51 +00:00
scsi_sa.h
scsi_target.c
scsi_targetio.h