freebsd-skq/sys/cam/scsi
Kenneth D. Merry e6bd5983ca Add CAM infrastructure to allow reporting when a drive's long read capacity
data changes.

cam_ccb.h:	Add a new advanced information type, CDAI_TYPE_RCAPLONG,
		for long read capacity data.

cam_xpt_internal.h:
		Add a read capacity data pointer and length to struct cam_ed.

cam_xpt.c:	Free the read capacity buffer when a device goes away.
		While we're here, make sure we don't leak memory for other
		malloced fields in struct cam_ed.

scsi_all.c:	Update the scsi_read_capacity_16() to take a uint8_t * and
		a length instead of just a pointer to the parameter data
		structure.  This will hopefully make this function somewhat
		immune to future changes in the parameter data.

scsi_all.h:	Add some extra bit definitions to struct
		scsi_read_capacity_data_long, and bump up the structure
		size to the full size specified by SBC-3.

		Change the prototype for scsi_read_capacity_16().

scsi_da.c:	Register changes in read capacity data with the transport
		layer.  This allows the transport layer to send out an
		async notification to interested parties.  Update the
		dasetgeom() API.

		Use scsi_extract_sense_len() instead of
		scsi_extract_sense().

scsi_xpt.c:	Add support for the new CDAI_TYPE_RCAPLONG advanced
		information type.

		Make sure we set the physpath pointer to NULL after freeing
		it.  This allows blindly freeing it in the struct cam_ed
		destructor.

sys/param.h:	Bump __FreeBSD_version from 1000005 to 1000006 to make it
		easier for third party drivers to determine that the read
		capacity data async notification is available.

camcontrol.c,
mptutil/mpt_cam.c:
		Update these for the new scsi_read_capacity_16() argument
		structure.

Sponsored by:	Spectra Logic
2012-01-26 18:09:28 +00:00
..
scsi_all.c Add CAM infrastructure to allow reporting when a drive's long read capacity 2012-01-26 18:09:28 +00:00
scsi_all.h Add CAM infrastructure to allow reporting when a drive's long read capacity 2012-01-26 18:09:28 +00:00
scsi_cd.c Add support for CDRIOCGETBLOCKSIZE and CDRIOCSETBLOCKSIZE IOCTLs to control 2012-01-03 17:04:09 +00:00
scsi_cd.h
scsi_ch.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
scsi_ch.h - fix duplicate "a a" in some comments 2011-11-13 17:06:33 +00:00
scsi_da.c Add CAM infrastructure to allow reporting when a drive's long read capacity 2012-01-26 18:09:28 +00:00
scsi_da.h Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
scsi_dvcfg.h
scsi_iu.h
scsi_low_pisa.c
scsi_low_pisa.h
scsi_low.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
scsi_low.h
scsi_message.h
scsi_pass.c Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
scsi_pass.h
scsi_pt.c Make CAM report devices with ATA/SATA transport to devstat(9) as IDE. 2011-04-14 21:25:32 +00:00
scsi_pt.h
scsi_sa.c Remove unneeded checks for CAM_DEV_QFRZN after cam_periph_runccb() call. 2012-01-02 17:02:45 +00:00
scsi_sa.h
scsi_ses.c Remove unneeded checks for CAM_DEV_QFRZN after cam_periph_runccb() call. 2012-01-02 17:02:45 +00:00
scsi_ses.h Change new constant names to ones used by OpenSolaris. 2011-05-27 03:44:47 +00:00
scsi_sg.c Fix a race condition in CAM peripheral free handling, locking 2012-01-12 00:41:48 +00:00
scsi_sg.h
scsi_targ_bh.c Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
scsi_target.c Change targ(4) to use cdevpriv, instead of multiple character devices. 2011-12-13 21:26:33 +00:00
scsi_targetio.h
scsi_xpt.c Add CAM infrastructure to allow reporting when a drive's long read capacity 2012-01-26 18:09:28 +00:00
smp_all.c Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
smp_all.h Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00