Print this page
4888 Undocument dma_req(9s)
4884 EOF scsi_hba_attach
4886 EOF ddi_dmae_getlim
4887 EOF ddi_iomin
4634 undocument scsi_hba_attach() and ddi_dma_lim(9s)
4630 clean stale references to ddi_iopb_alloc and ddi_iopb_free
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man9s/Intro.9s
+++ new/usr/src/man/man9s/Intro.9s
1 1 '\" te
2 +.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
2 3 .\" Copyright (c) 2001, Sun Microsystems, Inc., All Rights Reserved.
3 4 .\" Copyright 1989 AT&T
4 5 .\" 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.
5 6 .\" 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.
6 7 .\" 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]
7 -.TH INTRO 9S "May 15, 2001"
8 +.TH INTRO 9S "May 24, 2014"
8 9 .SH NAME
9 10 Intro, intro \- introduction to kernel data structures and properties
10 11 .SH DESCRIPTION
11 12 .sp
12 13 .LP
13 14 Section 9P describes kernel properties used by device drivers. Section 9S
14 15 describes the data structures used by drivers to share information between the
15 16 driver and the kernel. See \fBIntro\fR(9E) for an overview of device driver
16 17 interfaces.
17 18 .sp
18 19 .LP
19 20 In Section 9S, reference pages contain the following headings:
20 21 .RS +4
21 22 .TP
22 23 .ie t \(bu
23 24 .el o
24 25 \fBNAME\fR summarizes the purpose of the structure or property.
25 26 .RE
26 27 .RS +4
27 28 .TP
28 29 .ie t \(bu
29 30 .el o
30 31 \fBSYNOPSIS\fR lists the include file that defines the structure or property.
31 32 .RE
32 33 .RS +4
33 34 .TP
34 35 .ie t \(bu
35 36 .el o
36 37 \fBINTERFACE\fR \fBLEVEL\fR describes any architecture dependencies.
37 38 .RE
38 39 .RS +4
39 40 .TP
40 41 .ie t \(bu
41 42 .el o
42 43 \fBDESCRIPTION\fR provides general information about the structure or property.
43 44 .RE
44 45 .RS +4
45 46 .TP
46 47 .ie t \(bu
47 48 .el o
48 49 \fBSTRUCTURE\fR \fBMEMBERS\fR lists all accessible structure members (for
49 50 Section 9S).
50 51 .RE
51 52 .RS +4
52 53 .TP
53 54 .ie t \(bu
54 55 .el o
55 56 \fBSEE\fR \fBALSO\fR gives sources for further information.
56 57 .RE
57 58 .sp
58 59 .LP
59 60 Of the preceding headings, Section 9P reference pages contain the \fBNAME\fR,
60 61 \fBDESCRIPTION\fR, and \fBSEE\fR \fBALSO\fR fields.
61 62 .sp
62 63 .LP
63 64 Every driver MUST include <\fBsys/ddi.h\fR> and <\fBsys/sunddi.h\fR>, in that
64 65 order, and as final entries.
65 66 .sp
66 67 .LP
67 68 The following table summarizes the STREAMS structures described in Section 9S.
68 69 .sp
69 70
70 71 .sp
71 72 .TS
72 73 box;
73 74 c | c
74 75 l | l .
75 76 Structure Type
76 77 _
77 78 \fBcopyreq\fR DDI/DKI
78 79 _
79 80 \fBcopyresp\fR DDI/DKI
80 81 _
81 82 \fBdatab\fR DDI/DKI
82 83 _
83 84 \fBfmodsw\fR Solaris DDI
84 85 _
85 86 \fBfree_rtn\fR DDI/DKI
86 87 _
87 88 \fBiocblk\fR DDI/DKI
88 89 _
89 90 \fBlinkblk\fR DDI/DKI
90 91 _
91 92 \fBmodule_info\fR DDI/DKI
92 93 _
93 94 \fBmsgb\fR DDI/DKI
94 95 _
95 96 \fBqband\fR DDI/DKI
96 97 _
97 98 \fBqinit\fR DDI/DKI
98 99 _
99 100 \fBqueclass\fR Solaris DDI
100 101 _
101 102 \fBqueue\fR DDI/DKI
102 103 _
103 104 \fBstreamtab\fR DDI/DKI
104 105 _
105 106 \fBstroptions\fR DDI/DKI
106 107 .TE
107 108
108 109 .sp
109 110 .LP
110 111 The following table summarizes structures that are not specific to STREAMS I/O.
111 112 .sp
112 113
113 114 .sp
114 115 .TS
115 116 box;
116 117 c | c
117 118 l | l .
118 119 Structure Type
119 120 _
120 121 \fBaio_req\fR Solaris DDI
121 122 _
↓ open down ↓ |
104 lines elided |
↑ open up ↑ |
122 123 \fBbuf\fR DDI/DKI
123 124 _
124 125 \fBcb_ops\fR Solaris DDI
125 126 _
126 127 \fBddi_device_acc_attr\fR Solaris DDI
127 128 _
128 129 \fBddi_dma_attr\fR Solaris DDI
129 130 _
130 131 \fBddi_dma_cookie\fR Solaris DDI
131 132 _
132 -\fBddi_dma_lim_sparc\fR Solaris SPARC DDI
133 -_
134 -\fBddi_dma_lim_x86\fR Solaris x86 DDI
135 -_
136 -\fBddi_dma_req\fR Solaris DDI
137 -_
138 133 \fBddi_dmae_req\fR Solaris x86 DDI
139 134 _
140 135 \fBddi_idevice_cookie\fR Solaris DDI
141 136 _
142 137 \fBddi_mapdev_ctl\fR Solaris DDI
143 138 _
144 139 \fBdevmap_callback_ctl\fR Solaris DDI
145 140 _
146 141 \fBdev_ops\fR Solaris DDI
147 142 _
148 143 \fBiovec\fR DDI/DKI
149 144 _
150 145 \fBkstat\fR Solaris DDI
151 146 _
152 147 \fBkstat_intr\fR Solaris DDI
153 148 _
154 149 \fBkstat_io\fR Solaris DDI
155 150 _
156 151 \fBkstat_named\fR Solaris DDI
157 152 _
158 153 \fBmap\fR DDI/DKI
159 154 _
160 155 \fBmodldrv\fR Solaris DDI
161 156 _
162 157 \fBmodlinkage\fR Solaris DDI
163 158 _
164 159 \fBmodlstrmod\fR Solaris DDI
165 160 _
166 161 \fBscsi_address\fR Solaris DDI
167 162 _
168 163 \fBscsi_arq_status\fR Solaris DDI
169 164 _
170 165 \fBscsi_device\fR Solaris DDI
171 166 _
172 167 \fBscsi_extended_sense\fR Solaris DDI
173 168 _
174 169 \fBscsi_hba_tran\fR Solaris DDI
175 170 _
176 171 \fBscsi_inquiry\fR Solaris DDI
177 172 _
178 173 \fBscsi_pkt\fR Solaris DDI
179 174 _
180 175 \fBscsi_status\fR Solaris DDI
181 176 _
182 177 \fBuio\fR DDI/DKI
183 178 .TE
184 179
185 180 .SH SEE ALSO
186 181 .sp
187 182 .LP
188 183 \fBIntro\fR(9E)
189 184 .SH NOTES
190 185 .sp
191 186 .LP
192 187 Do not declare arrays of structures as the size of the structures can change
193 188 between releases. Rely only on the structure members listed in this chapter and
194 189 not on unlisted members or the position of a member in a structure.
↓ open down ↓ |
47 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX