freebsd-dev/sys/cam/scsi
Kenneth D. Merry 7c103dde1e Fix a few issues related to the XPT_GDEV_ADVINFO CCB.
camcontrol.c:	In buildbusdevlist(), don't attempt to get call
		getdevid() for an unconfigured device, even when the
		verbose flag is set.  The cam_open_btl() call will almost
		certainly fail.

		Probe for the buffer size when issuing the XPT_GDEV_ADVINFO
		CCB.  Probing for the buffer size first helps us avoid
		allocating the maximum buffer size when it really may not
		be necessary.  This also helps avoid errors from
		cam_periph_mapmem() if we attempt to map more than MAXPHYS.

cam_periph.c:	In cam_periph_mapmem(), if the XPT_GDEV_ADVINFO CCB
		shows a bufsiz of 0, we don't have anything to map,
		so just return.

		Also, set the maximum mapping size to MAXPHYS
		instead of DFLTPHYS for XPT_GDEV_ADVINFO CCBs,
		since they don't actually go down to the hardware.

scsi_pass.c:	Don't bother mapping the buffer in XPT_GDEV_ADVINFO
		CCBs if bufsiz is 0.
2010-12-10 21:38:51 +00:00
..
scsi_all.c Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
scsi_all.h Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +00:00
scsi_cd.c Export PCI IDs of ATA/SATA controllers through CAM and ata(4) layers to 2010-07-25 15:43:52 +00:00
scsi_cd.h
scsi_ch.c MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
scsi_ch.h Make additional definitions up to and including SPC-4. Add in definitions 2010-06-08 05:14:18 +00:00
scsi_da.c Make da driver to handle some probably broken Android devices, returning 2010-10-24 18:53:16 +00:00
scsi_da.h
scsi_dvcfg.h
scsi_iu.h
scsi_low_pisa.c
scsi_low_pisa.h
scsi_low.c MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
scsi_low.h Add a new 'why' argument to kdb_enter(), and a set of constants to use 2007-12-25 17:52:02 +00:00
scsi_message.h
scsi_pass.c Fix a few issues related to the XPT_GDEV_ADVINFO CCB. 2010-12-10 21:38:51 +00:00
scsi_pass.h
scsi_pt.c Replace most of priority numbers with defines. No logical changes. 2009-10-23 08:27:55 +00:00
scsi_pt.h
scsi_sa.c Replace most of priority numbers with defines. No logical changes. 2009-10-23 08:27:55 +00:00
scsi_sa.h
scsi_ses.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
scsi_ses.h Fix ioctl to not get swallowed by ioctl code (i.e., make sure the darned 2006-01-18 08:37:27 +00:00
scsi_sg.c Pick up the right change, not it's close cousin. The one 2010-05-11 22:51:13 +00:00
scsi_sg.h A fix for the SG_GET_TIMEOUT function slipped into a previous commit by 2007-04-10 20:03:42 +00:00
scsi_targ_bh.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
scsi_target.c Fix two (very common) occurrences of s/sytem/system in comments. 2010-08-02 18:06:49 +00:00
scsi_targetio.h
scsi_xpt.c Add Serial Management Protocol (SMP) passthrough support to CAM. 2010-11-30 22:39:46 +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