7 .\" this list of conditions and the following disclaimer.
8 .\" 2. Redistributions in binary form must reproduce the above copyright notice,
9 .\" this list of conditions and the following disclaimer in the documentation
10 .\" and/or other materials provided with the distribution.
11 .\" 3. Neither the name of the author nor the names of any co-contributors may
12 .\" be used to endorse or promote products derived from this software
13 .\" without specific prior written permission.
14 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
15 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
16 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
18 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21 .\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22 .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
25 .\" Portions Copyright (c) 2007 by Sun Microsystems, Inc. All Rights Reserved.
26
27 .TH "PCN" "7D" "Sep 16, 2011"
28 .
29 .SH "NAME"
30 \fBpcn\fR \- PCnet Ethernet device driver
31 .SH "SYNOPSIS"
32 .LP
33 .nf
34 \fB/dev/pcn\fR
35 .fi
36
37 .SH "DESCRIPTION"
38 .sp
39 .LP
40 The \fBpcn\fR driver is a multi\-threaded, loadable, clonable GLDv3\-based
41 STREAMS driver supporting the Data Link Provider Interface \fBdlpi\fR(7P) for
42 the AMD PCnet family of Ethernet controllers\.
43 .SH "APPLICATION PROGRAMMING INTERFACE"
44 The \fBpcn\fR driver can be used as either a "style 1" or a "style 2" Data Link
45 Service Provider\. Physical points of attachment (PPAs) are interpreted as the
46 instance number of the \fBpcn\fR controller as assigned by the
47 operating environment\.
48 .sp
49 .LP
50 The values returned by the driver in the \fBDL_INFO_ACK\fR response are:
51 .RS +4
52 .TP
53 .ie t \(bu
54 .el o
55 Maximum SDU is 1500\.
56 .RE
57 .RS +4
58 .TP
59 .ie t \(bu
60 .el o
61 Minimum SDU is 0\.
62 .RE
63 .RS +4
64 .TP
65 .ie t \(bu
66 .el o
67 The dlsap address length is 8\.
68 .RE
69 .RS +4
70 .TP
71 .ie t \(bu
72 .el o
73 MAC type is \fBDL_ETHER\fR\.
74 .RE
75 .RS +4
76 .TP
77 .ie t \(bu
78 .el o
79 SAP length is \-2\. The 6\-byte physical address is immediately followed by a
80 2\-byte SAP\.
81 .RE
82 .RS +4
83 .TP
84 .ie t \(bu
85 .el o
86 Service mode is \fBDL_CLDLS\fR\.
87 .RE
88 .RS +4
89 .TP
90 .ie t \(bu
91 .el o
92 The broadcast address is the 6\-byte Ethernet broadcast address
93 (\fBff:ff:ff:ff:ff:ff\fR)\.
94 .SH "CONFIGURATION"
95 .sp
96 .LP
97 The \fBpcn\fR driver performs auto-negotiation to select the link speed and
98 mode\. Link sped may be 100Mbps full\-duplex, 100Mbps half\-duplex,
99 10Mbps full\-duplex, or 10Mbps half\-duplex, depending on the hardware
100 adapter type\. See the \fIIEEE802.3\fR standard for more information\.
101 .sp
102 .LP
103 The capabilities advertised by the \fBpcn\fR device can be set using
104 \fBdladm\fR(1m)\. The driver supports a number of parameters whose names
105 being with \fBen_\fR (see below)\. Each of these parameters contains a
106 boolean value that determines if the devices advertises that mode of
107 operations\. The \fBadv_autoneg_cap\fR parameter controls whether
108 auto-negotioation is performed\. If \fBadv_autoneg_cap\fR is set to 0, the
109 driver forces the mode of operation selected by the first non-zero
110 parameter in priority order as shown below:
111 .sp
112 .in +2
113 .nf
114 (highest priority/greatest throughput)
115 en_100fdx_cap 100Mbps full duplex
116 en_10fdx_cap 10Mbps full duplex
117 (lowest priority/least throughput)
118 .fi
119 .in -2
120
121 .sp
122 .LP
123 All capabilities default to enabled\. Note that changing any capability
124 parameter causes te link to go down while the link partners renegotiate
125 the link speed/duplex using the newly changed capabilities\.
126 .SH "ATTRIBUTES"
127 .sp
128 .LP
129 See \fBattributes\fR(5) for a description of the following attributes:
130 .sp
131
132 .sp
133 .TS
134 box;
135 c | c
136 l | l .
137 ATTRIBUTE TYPE ATTRIBUTE VALUE
138 _
139 Architecture x86
140 _
141 Interface Stability Committed
142 .TE
143
144 .SH "FILES"
145 .sp
146 .ne 2
147 .na
148 \fB\fB/dev/pcn\fR\fR
149 .ad
150 .sp .6
151 .RS 4n
152 Special character device\.
153 .RE
154
155 .sp
156 .ne 2
157 .na
158 \fB\fB/kernel/drv/pcn\fR\fR
159 .ad
160 .sp 6
161 .RS 4n
162 32\-bit driver binary\.
163 .RE
164
165 .sp
166 .ne 2
167 .na
168 \fB\fB/kernel/drv/amd64/pcn\fR\fR
169 .ad
170 .sp .6
171 .RS 4n
172 64\-bit driver binary (x86)\.
173 .RE
174
175 .SH "SEE ALSO"
176 .sp
177 .LP
178 \fBattributes\fR(5), \fBstreamio\fR(7I), \fBdlpi\fR(7p)
179 .sp
180 .LP
181 \fIIEEE 802.3\fR \(em Institute of Electrical and Electronics Engineers, 2002
|
7 .\" this list of conditions and the following disclaimer.
8 .\" 2. Redistributions in binary form must reproduce the above copyright notice,
9 .\" this list of conditions and the following disclaimer in the documentation
10 .\" and/or other materials provided with the distribution.
11 .\" 3. Neither the name of the author nor the names of any co-contributors may
12 .\" be used to endorse or promote products derived from this software
13 .\" without specific prior written permission.
14 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS
15 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
16 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
18 .\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 .\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 .\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21 .\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22 .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
25 .\" Portions Copyright (c) 2007 by Sun Microsystems, Inc. All Rights Reserved.
26
27 .TH "PCN" "7D" "Jan 10, 2020"
28 .
29 .SH "NAME"
30 \fBpcn\fR \- PCnet Ethernet device driver
31 .SH "SYNOPSIS"
32 .nf
33 \fB/dev/pcn\fR
34 .fi
35
36 .SH "DESCRIPTION"
37 The \fBpcn\fR driver is a multi\-threaded, loadable, clonable GLDv3\-based
38 STREAMS driver supporting the Data Link Provider Interface \fBdlpi\fR(7P) for
39 the AMD PCnet family of Ethernet controllers.
40 .SH "APPLICATION PROGRAMMING INTERFACE"
41 The \fBpcn\fR driver can be used as either a "style 1" or a "style 2" Data Link
42 Service Provider. Physical points of attachment (PPAs) are interpreted as the
43 instance number of the \fBpcn\fR controller as assigned by the
44 operating environment.
45 .sp
46 .LP
47 The values returned by the driver in the \fBDL_INFO_ACK\fR response are:
48 .RS +4
49 .TP
50 .ie t \(bu
51 .el o
52 Maximum SDU is 1500.
53 .RE
54 .RS +4
55 .TP
56 .ie t \(bu
57 .el o
58 Minimum SDU is 0.
59 .RE
60 .RS +4
61 .TP
62 .ie t \(bu
63 .el o
64 The dlsap address length is 8.
65 .RE
66 .RS +4
67 .TP
68 .ie t \(bu
69 .el o
70 MAC type is \fBDL_ETHER\fR.
71 .RE
72 .RS +4
73 .TP
74 .ie t \(bu
75 .el o
76 SAP length is \-2. The 6\-byte physical address is immediately followed by a
77 2\-byte SAP.
78 .RE
79 .RS +4
80 .TP
81 .ie t \(bu
82 .el o
83 Service mode is \fBDL_CLDLS\fR.
84 .RE
85 .RS +4
86 .TP
87 .ie t \(bu
88 .el o
89 The broadcast address is the 6\-byte Ethernet broadcast address
90 (\fBff:ff:ff:ff:ff:ff\fR).
91 .SH "CONFIGURATION"
92 The \fBpcn\fR driver performs auto-negotiation to select the link speed and
93 mode. Link speed may be 100Mbps full\-duplex, 100Mbps half\-duplex,
94 10Mbps full\-duplex, or 10Mbps half\-duplex, depending on the hardware
95 adapter type. See the \fIIEEE802.3\fR standard for more information.
96 .sp
97 .LP
98 The capabilities advertised by the \fBpcn\fR device can be set using
99 \fBdladm\fR(1m). The driver supports a number of parameters whose names
100 begin with \fBen_\fR (see below). Each of these parameters contains a
101 boolean value that determines if the device advertises that mode of
102 operations. The \fBadv_autoneg_cap\fR parameter controls whether
103 auto-negotiation is performed. If \fBadv_autoneg_cap\fR is set to 0, the
104 driver forces the mode of operation selected by the first non-zero
105 parameter in priority order as shown below:
106 .sp
107 .in +2
108 .nf
109 (highest priority/greatest throughput)
110 en_100fdx_cap 100Mbps full duplex
111 en_10fdx_cap 10Mbps full duplex
112 (lowest priority/least throughput)
113 .fi
114 .in -2
115
116 .sp
117 .LP
118 All capabilities default to enabled. Note that changing any capability
119 parameter causes the link to go down while the link partners renegotiate
120 the link speed/duplex using the newly changed capabilities.
121 .SH "ATTRIBUTES"
122 See \fBattributes\fR(5) for a description of the following attributes:
123 .sp
124
125 .sp
126 .TS
127 box;
128 c | c
129 l | l .
130 ATTRIBUTE TYPE ATTRIBUTE VALUE
131 _
132 Architecture x86
133 _
134 Interface Stability Committed
135 .TE
136
137 .SH "FILES"
138 .ne 2
139 .na
140 \fB/dev/pcn\fR
141 .ad
142 .sp .6
143 .RS 4n
144 Special character device.
145 .RE
146
147 .sp
148 .ne 2
149 .na
150 \fB/kernel/drv/amd64/pcn\fR
151 .ad
152 .sp .6
153 .RS 4n
154 Device driver (x86)
155 .RE
156
157 .SH "SEE ALSO"
158 \fBattributes\fR(5), \fBstreamio\fR(7I), \fBdlpi\fR(7p)
159 .sp
160 .LP
161 \fIIEEE 802.3\fR \(em Institute of Electrical and Electronics Engineers, 2002
|