freebsd-src/sys/cam
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 Add the quirk entry framework to handle disabling the synchronize cache 1998-10-08 05:46:38 +00:00
cam_ccb.h
cam_conf.h
cam_debug.h Add a new CAM debugging mode, CAM_DEBUG_CDB. This causes the kernel to 1998-10-02 21:00:58 +00:00
cam_extend.c
cam_extend.h
cam_periph.c Fixed printf format errors. u_long is not necessarily suitable for casting 1998-09-29 09:18:08 +00:00
cam_periph.h
cam_queue.c
cam_queue.h
cam_sim.c
cam_sim.h
cam_xpt_periph.h
cam_xpt_sim.h
cam_xpt.c Add a quirk entry for the CFP2107, another drive with broken 1998-10-07 03:25:21 +00:00
cam_xpt.h
cam.c cam.c: 1998-09-22 04:53:23 +00:00
cam.h