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 devices
DESCRIPTION
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 device
type 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 typically
comes from the scsiinquiry(9S) "inqvid" field.
inquiry-product-id is a string property. When present, it
contains the product identification. This information typi-
cally comes from the scsiinquiry(9S) "inqpid" field.
inquiry-revision-id is a string property. When present, it
contains the product revision. This revision typically comes
from the scsiinquiry(9S) "inqrev" 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
scsiinquiry(9S)
Writing Device Drivers
NOTES
Values established at trantgtinit(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 the
typical scsiinquiry(9S) field.
SunOS 5.11 Last change: 18 May 2001 1
|