]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 278228:
authorken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 18 Feb 2015 23:08:13 +0000 (23:08 +0000)
committerken <ken@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 18 Feb 2015 23:08:13 +0000 (23:08 +0000)
commit60676e558edfe875267c61cbcecec8178a170eee
tree13d88680c90d0edbacf71d8de78bb23268f58d7c
parent32ecc9bde8e96fc9186bcf469de0f90ec4cf7028
MFC 278228:

The __FreeBSD_version has been changed to 1001508 for the addition of the
CDAI_TYPE_EXT_INQ request type.

  ------------------------------------------------------------------------
  r278228 | ken | 2015-02-04 17:12:21 -0700 (Wed, 04 Feb 2015) | 32 lines

  Add support for probing the SCSI VPD Extended Inquiry page (0x86).

  This VPD page is effectively an extension of the standard Inquiry
  data page, and includes lots of additional bits.

  This commit includes support for probing the page in the SCSI probe code,
  and an additional request type for the XPT_DEV_ADVINFO CCB.  CTL already
  supports the Extended Inquiry page.

  Support for querying this page in the sa(4) driver will come later.

  sys/cam/scsi/scsi_xpt.c:
   Probe the Extended Inquiry page, if the device supports it, and
   return it in response to a XPT_DEV_ADVINFO CCB if it is requested.

  sys/cam/scsi/cam_ccb.h:
   Define a new advanced information CCB data type, CDAI_TYPE_EXT_INQ.

  sys/cam/cam_xpt.c:
   Free the extended inquiry data in a device when the device goes
   away.

  sys/cam/cam_xpt_internal.h:
   Add an extended inquiry data pointer and length to struct cam_ed.

  sys/sys/param.h
   Bump __FreeBSD_version for the addition of the new
   CDAI_TYPE_EXT_INQ advanced information type.

  Sponsored by: Spectra Logic
  MFC after: 1 week

  ------------------------------------------------------------------------

Sponsored by: Spectra Logic

git-svn-id: svn://svn.freebsd.org/base/stable/10@278974 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/cam_ccb.h
sys/cam/cam_xpt.c
sys/cam/cam_xpt_internal.h
sys/cam/scsi/scsi_xpt.c
sys/sys/param.h