Kernel Properties for Drivers inquiry-device-type(9P)
NAME
inquiry-device-type, inquiry-vendor-id, inquiry-product-id,
inquiry-revision-id, inquiry-serial-no - inquiry properties
for SCSI devicesDESCRIPTION
These are optional properties, typically created by the sys-
tem, for SCSI target devices. References to these properties should use their sys/scsi/impl/inquiry.h defined names.inquiry-device-type is an integer property. When present,
the least significant byte of the value indicates the devicetype as defined by the SCSI standard. Consumers of this pro-
perty should compare the property values with DTYPE_* values
defined in sys/scsi/generic/inquiry.h.inquiry-vendor-id is a string property. When present, it
contains the vendor information. This information typicallycomes from the scsi_inquiry(9S) "inq_vid" field.
inquiry-product-id is a string property. When present, it
contains the product identification. This information typi-
cally comes from the scsi_inquiry(9S) "inq_pid" field.
inquiry-revision-id is a string property. When present, it
contains the product revision. This revision typically comesfrom the scsi_inquiry(9S) "inq_rev" field.
inquiry-serial-no is a string property. When present, it
contains the serial number. The serial number is typically obtained from the EVPD "Unit Serial Number" SCSI INQUIRY data (page 0x80).SEE ALSO
scsi_inquiry(9S)
Writing Device Drivers NOTESValues established at tran_tgt_init(9E) time by an HBA
driver take precedence over values established by the sys-
tem, and HBA driver values may not be the same length as thetypical scsi_inquiry(9S) field.
SunOS 5.11 Last change: 18 May 2001 1