kernel: bwrite_common's 3rd & 4th args can be bools
[unleashed.git] / share / man / man9p / inquiry-device-type.9p
blob285efc85e39fc29f5192514d34f3292198f03583
1 '\" te
2 .\" Copyright (c) 2001, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH INQUIRY-DEVICE-TYPE 9P "May 18, 2001"
7 .SH NAME
8 inquiry-device-type, inquiry-vendor-id, inquiry-product-id,
9 inquiry-revision-id, inquiry-serial-no \- inquiry properties for SCSI devices
10 .SH DESCRIPTION
11 .sp
12 .LP
13 These are optional properties, typically created by the system, for SCSI target
14 devices. References to these properties should use their
15 \fBsys/scsi/impl/inquiry.h\fR defined names.
16 .sp
17 .LP
18 \fBinquiry-device-type\fR is an integer property. When present, the least
19 significant byte of the value indicates the device type as defined by the SCSI
20 standard. Consumers of this property should compare the property values with
21 \fBDTYPE_*\fR values defined in \fBsys/scsi/generic/inquiry.h\fR.
22 .sp
23 .LP
24 \fBinquiry-vendor-id\fR is a string property. When present, it contains the
25 vendor information. This information typically comes from the
26 \fBscsi_inquiry\fR(9S) "\fBinq_vid\fR" field.
27 .sp
28 .LP
29 \fBinquiry-product-id\fR is a string property. When present, it contains the
30 product identification. This information typically comes from the
31 \fBscsi_inquiry\fR(9S) "\fBinq_pid\fR" field.
32 .sp
33 .LP
34 \fBinquiry-revision-id\fR is a string property. When present, it contains the
35 product revision. This revision typically comes from the \fBscsi_inquiry\fR(9S)
36 "\fBinq_rev\fR" field.
37 .sp
38 .LP
39 \fBinquiry-serial-no\fR is a string property. When present, it contains the
40 serial number. The serial number is typically obtained from the \fBEVPD\fR
41 "Unit Serial Number" SCSI INQUIRY data (page 0x80).
42 .SH SEE ALSO
43 .sp
44 .LP
45 \fBscsi_inquiry\fR(9S)
46 .sp
47 .LP
48 \fIWriting Device Drivers\fR
49 .SH NOTES
50 .sp
51 .LP
52 Values established at \fBtran_tgt_init\fR(9E) time by an \fBHBA\fR driver take
53 precedence over values established by the system, and \fBHBA\fR driver values
54 may not be the same length as the typical \fBscsi_inquiry\fR(9S) field.