kernel/efirt: Hook efirt.ko into the build.
[dragonfly.git] / share / man / man4 / msk.4
blobf443818222396411152bf10f2506f1c7be3b93cd
1 .\" Copyright (c) 2006 Pyun YongHyeon
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
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.
12 .\"
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
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD: src/share/man/man4/msk.4,v 1.6 2007/12/05 09:41:58 remko Exp $
26 .\"
27 .Dd November 20, 2014
28 .Dt MSK 4
29 .Os
30 .Sh NAME
31 .Nm msk
32 .Nd Marvell/SysKonnect Yukon II Gigabit Ethernet adapter driver
33 .Sh SYNOPSIS
34 To compile this driver into the kernel,
35 place the following lines in your
36 kernel configuration file:
37 .Bd -ragged -offset indent
38 .Cd "device miibus"
39 .Cd "device msk"
40 .Ed
41 .Pp
42 Alternatively, to load the driver as a
43 module at boot time, place the following line in
44 .Xr loader.conf 5 :
45 .Bd -literal -offset indent
46 if_msk_load="YES"
47 .Ed
48 .Sh DESCRIPTION
49 The
50 .Nm
51 device driver provides support for various NICs based on the
52 Marvell/SysKonnect Yukon II Gigabit Ethernet controller chip.
53 .Pp
54 All NICs supported by the
55 .Nm
56 driver have
57 .\" NOT YET
58 .\"TCP/UDP/IP checksum offload for transmit,
59 .\"TCP segmentation offload (TSO),
60 .\"hardware VLAN tag stripping/insertion features and
61 an interrupt moderation mechanism as well as a 64-bit multicast hash filter.
62 The Yukon II supports TBI (ten bit interface) and GMII
63 transceivers, which means it can be used with either copper or
64 1000baseX fiber applications.
65 .Pp
66 .\" NOT YET
67 .\"The Yukon II also supports Jumbo Frames (up to 9022 bytes), which can be
68 .\"configured via the interface MTU setting.
69 .\"Selecting an MTU larger than 1500 bytes with the
70 .\".Xr ifconfig 8
71 .\"utility configures the adapter to receive and transmit Jumbo Frames.
72 .\".Pp
73 The
74 .Nm
75 driver supports the following media types:
76 .Bl -tag -width ".Cm 10baseT/UTP"
77 .It Cm autoselect
78 Enable autoselection of the media type and options.
79 The user can manually override
80 the autoselected mode by adding media options to
81 .Xr rc.conf 5 .
82 .It Cm 10baseT/UTP
83 Set 10Mbps operation.
84 The
85 .Xr ifconfig 8
86 .Cm mediaopt
87 option can also be used to select either
88 .Cm full-duplex
90 .Cm half-duplex
91 modes.
92 .It Cm 100baseTX
93 Set 100Mbps (Fast Ethernet) operation.
94 The
95 .Xr ifconfig 8
96 .Cm mediaopt
97 option can also be used to select either
98 .Cm full-duplex
100 .Cm half-duplex
101 modes.
102 .It Cm 1000baseT
103 Set 1000baseT operation over twisted pair.
105 .Xr ifconfig 8
106 .Cm mediaopt
107 option can also be used to select either
108 .Cm full-duplex
110 .Cm half-duplex
111 modes.
112 .It Cm 1000baseSX
113 Set 1000Mbps (Gigabit Ethernet) operation.
114 Both
115 .Cm full-duplex
117 .Cm half-duplex
118 modes are supported.
123 driver supports the following media options:
124 .Bl -tag -width ".Cm full-duplex"
125 .It Cm full-duplex
126 Force full duplex operation.
127 .It Cm half-duplex
128 Force half duplex operation.
133 driver also supports one special link option for 1000baseT cards:
134 .Bl -tag -width ".Cm link0"
135 .It Cm link0
136 With 1000baseT cards, establishing a link between two ports requires
137 that one port is configured as master and the other one as slave.
138 With autonegotiation,
139 the master/slave settings will be chosen automatically.
140 However when manually selecting the link state, it is necessary to
141 force one side of the link to be a master and the other a slave.
144 driver configures the ports as slaves by default.
145 Setting the
146 .Cm link0
147 flag with
148 .Xr ifconfig 8
149 will set a port as a master instead.
152 For more information on configuring this device, see
153 .Xr ifconfig 8 .
154 .Sh HARDWARE
157 driver provides support for various NICs based on the Marvell/SysKonnect
158 Yukon II based Gigabit Ethernet controller chips, including:
160 .Bl -bullet -compact
162 D-Link 550SX Gigabit Ethernet
164 D-Link 560T Gigabit Ethernet
166 Marvell Yukon 88E8021CU Gigabit Ethernet
168 Marvell Yukon 88E8021 SX/LX Gigabit Ethernet
170 Marvell Yukon 88E8022CU Gigabit Ethernet
172 Marvell Yukon 88E8022 SX/LX Gigabit Ethernet
174 Marvell Yukon 88E8061CU Gigabit Ethernet
176 Marvell Yukon 88E8061 SX/LX Gigabit Ethernet
178 Marvell Yukon 88E8062CU Gigabit Ethernet
180 Marvell Yukon 88E8062 SX/LX Gigabit Ethernet
182 Marvell Yukon 88E8035 Gigabit Ethernet
184 Marvell Yukon 88E8036 Gigabit Ethernet
186 Marvell Yukon 88E8038 Gigabit Ethernet
188 Marvell Yukon 88E8039 Gigabit Ethernet
190 Marvell Yukon 88E8050 Gigabit Ethernet
192 Marvell Yukon 88E8052 Gigabit Ethernet
194 Marvell Yukon 88E8053 Gigabit Ethernet
196 Marvell Yukon 88E8055 Gigabit Ethernet
198 Marvell Yukon 88E8056 Gigabit Ethernet
200 Marvell Yukon 88E8058 Gigabit Ethernet
202 SysKonnect SK-9Sxx Gigabit Ethernet
204 SysKonnect SK-9Exx Gigabit Ethernet
206 .Sh LOADER TUNABLES
207 Tunables can be set at the
208 .Xr loader 8
209 prompt before booting the kernel or stored in
210 .Xr loader.conf 5 .
211 .Bl -tag -width indent
212 .It Va hw.mskc.msi.enable
214 .Nm driver
215 supports MSI but it is turned off by default.
216 It can be enabled by setting this tunable to 1.
218 .\".Sh SYSCTL VARIABLES
219 .\"The following variables are available as both
220 .\".Xr sysctl 8
221 .\"variables and
222 .\".Xr loader 8
223 .\"tunables:
224 .\".Bl -tag -width indent
225 .\".It Va dev.mskc.%d.process_limit
226 .\"Maximum amount of Rx events to be processed in the event loop before
227 .\"rescheduling a taskqueue.
228 .\"The accepted range is 30 to 256, the default value is 128 events.
229 .\"The interface does not need to be brought down and up again before
230 .\"a change takes effect.
231 .\".El
232 .Sh SEE ALSO
233 .Xr altq 4 ,
234 .Xr arp 4 ,
235 .Xr ifmedia 4 ,
236 .Xr miibus 4 ,
237 .Xr netintro 4 ,
238 .Xr ng_ether 4 ,
239 .\".Xr vlan 4 ,
240 .Xr ifconfig 8
241 .Sh HISTORY
244 driver was written by
245 .An Pyun YongHyeon Aq Mt yongari@FreeBSD.org
246 and it is based on
247 .Xr sk 4
248 and Marvell's
250 driver.
251 It first appeared in
252 .Dx 1.11 .