1 .\" Copyright (c) 2006 Pyun YongHyeon
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nd Marvell/SysKonnect Yukon II Gigabit Ethernet adapter driver
34 To compile this driver into the kernel,
35 place the following lines in your
36 kernel configuration file:
37 .Bd -ragged -offset indent
42 Alternatively, to load the driver as a
43 module at boot time, place the following line in
45 .Bd -literal -offset indent
51 device driver provides support for various NICs based on the
52 Marvell/SysKonnect Yukon II Gigabit Ethernet controller chip.
54 All NICs supported by the
56 driver have TCP/UDP/IP checksum offload for transmit, TCP
57 segmentation offload (TSO), hardware VLAN tag stripping/insertion
58 features and an interrupt moderation mechanism as well as a 64-bit
59 multicast hash filter.
60 The Yukon II supports TBI (ten bit interface) and GMII
61 transceivers, which means it can be used with either copper or
62 1000baseX fiber applications.
64 The Yukon II also supports Jumbo Frames (up to 9022 bytes), which can be
65 configured via the interface MTU setting.
66 Selecting an MTU larger than 1500 bytes with the
68 utility configures the adapter to receive and transmit Jumbo Frames.
72 driver supports the following media types:
73 .Bl -tag -width ".Cm 10baseT/UTP"
75 Enable autoselection of the media type and options.
76 The user can manually override
77 the autoselected mode by adding media options to
84 option can also be used to select either
90 Set 100Mbps (Fast Ethernet) operation.
94 option can also be used to select either
100 Set 1000baseTX operation over twisted pair.
104 option can also be used to select either
110 Set 1000Mbps (Gigabit Ethernet) operation.
120 driver supports the following media options:
121 .Bl -tag -width ".Cm full-duplex"
123 Force full duplex operation.
125 Force half duplex operation.
130 driver also supports one special link option for 1000baseTX cards:
131 .Bl -tag -width ".Cm link0"
133 With 1000baseTX cards, establishing a link between two ports requires
134 that one port is configured as master and the other one as slave.
135 With autonegotiation,
136 the master/slave settings will be chosen automatically.
137 However when manually selecting the link state, it is necessary to
138 force one side of the link to be a master and the other a slave.
141 driver configures the ports as slaves by default.
146 will set a port as a master instead.
149 For more information on configuring this device, see
154 driver provides support for various NICs based on the Marvell/SysKonnect
155 Yukon II based Gigabit Ethernet controller chips, including:
159 D-Link 550SX Gigabit Ethernet
161 D-Link 560SX Gigabit Ethernet
163 D-Link 560T Gigabit Ethernet
165 Marvell Yukon 88E8021CU Gigabit Ethernet
167 Marvell Yukon 88E8021 SX/LX Gigabit Ethernet
169 Marvell Yukon 88E8022CU Gigabit Ethernet
171 Marvell Yukon 88E8022 SX/LX Gigabit Ethernet
173 Marvell Yukon 88E8061CU Gigabit Ethernet
175 Marvell Yukon 88E8061 SX/LX Gigabit Ethernet
177 Marvell Yukon 88E8062CU Gigabit Ethernet
179 Marvell Yukon 88E8062 SX/LX Gigabit Ethernet
181 Marvell Yukon 88E8035 Fast Ethernet
183 Marvell Yukon 88E8036 Fast Ethernet
185 Marvell Yukon 88E8038 Fast Ethernet
187 Marvell Yukon 88E8039 Fast Ethernet
189 Marvell Yukon 88E8040 Fast Ethernet
191 Marvell Yukon 88E8040T Fast Ethernet
193 Marvell Yukon 88E8042 Fast Ethernet
195 Marvell Yukon 88E8048 Fast Ethernet
197 Marvell Yukon 88E8050 Gigabit Ethernet
199 Marvell Yukon 88E8052 Gigabit Ethernet
201 Marvell Yukon 88E8053 Gigabit Ethernet
203 Marvell Yukon 88E8055 Gigabit Ethernet
205 Marvell Yukon 88E8056 Gigabit Ethernet
207 Marvell Yukon 88E8057 Gigabit Ethernet
209 Marvell Yukon 88E8058 Gigabit Ethernet
211 Marvell Yukon 88E8059 Gigabit Ethernet
213 Marvell Yukon 88E8070 Gigabit Ethernet
215 Marvell Yukon 88E8071 Gigabit Ethernet
217 Marvell Yukon 88E8072 Gigabit Ethernet
219 SysKonnect SK-9Sxx Gigabit Ethernet
221 SysKonnect SK-9Exx Gigabit Ethernet
224 Tunables can be set at the
226 prompt before booting the kernel or stored in
228 .Bl -tag -width indent
229 .It Va hw.msk.msi_disable
230 This tunable disables MSI support on the Ethernet hardware.
231 The default value is 0.
234 The following variables are available as both
239 .Bl -tag -width indent
240 .It Va dev.mskc.%d.int_holdoff
241 Maximum number of time to delay interrupts.
242 The valid range is 0 to 34359738 for 125MHz clock in units of 1us,
243 the default is 100 (100us).
244 The interface need to be brought down and up again before a change
246 .It Va dev.mskc.%d.process_limit
247 Maximum amount of Rx events to be processed in the event loop before
248 rescheduling a taskqueue.
249 The accepted range is 30 to 256, the default value is 128 events.
250 The interface does not need to be brought down and up again before
251 a change takes effect.
264 driver was written by
266 .Aq yongari@FreeBSD.org