1inquiry-device-type(9P)  Kernel Properties for Drivers inquiry-device-type(9P)
2
3
4

NAME

6       inquiry-device-type,  inquiry-vendor-id,  inquiry-product-id,  inquiry-
7       revision-id, inquiry-serial-no - inquiry properties for SCSI devices
8

DESCRIPTION

10       These are optional properties, typically created  by  the  system,  for
11       SCSI  target  devices.  References to these properties should use their
12       sys/scsi/impl/inquiry.h defined names.
13
14
15       inquiry-device-type is an integer property.  When  present,  the  least
16       significant  byte  of the value indicates the device type as defined by
17       the SCSI standard. Consumers of this property should compare the  prop‐
18       erty values with DTYPE_* values defined in sys/scsi/generic/inquiry.h.
19
20
21       inquiry-vendor-id  is  a string property. When present, it contains the
22       vendor  information.  This  information  typically   comes   from   the
23       scsi_inquiry(9S) "inq_vid" field.
24
25
26       inquiry-product-id  is a string property. When present, it contains the
27       product identification.  This  information  typically  comes  from  the
28       scsi_inquiry(9S) "inq_pid" field.
29
30
31       inquiry-revision-id is a string property. When present, it contains the
32       product   revision.   This   revision   typically   comes   from    the
33       scsi_inquiry(9S) "inq_rev" field.
34
35
36       inquiry-serial-no  is  a string property. When present, it contains the
37       serial number. The serial number is typically obtained  from  the  EVPD
38       "Unit Serial Number" SCSI INQUIRY data (page 0x80).
39

SEE ALSO

41       scsi_inquiry(9S)
42
43
44       Writing Device Drivers
45

NOTES

47       Values  established  at  tran_tgt_init(9E)  time  by an HBA driver take
48       precedence over values established by the system, and HBA driver values
49       may not be the same length as the typical scsi_inquiry(9S) field.
50
51
52
53SunOS 5.11                        18 May 2001          inquiry-device-type(9P)
Impressum