]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/sk.4
This commit was generated by cvs2svn to compensate for changes in r147001,
[FreeBSD/FreeBSD.git] / share / man / man4 / sk.4
1 .\" Copyright (c) 1997, 1998, 1999
2 .\"     Bill Paul <wpaul@ctr.columbia.edu>. 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 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by Bill Paul.
15 .\" 4. Neither the name of the author nor the names of any co-contributors
16 .\"    may be used to endorse or promote products derived from this software
17 .\"   without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 .\" THE POSSIBILITY OF SUCH DAMAGE.
30 .\"
31 .\" $FreeBSD$
32 .\"
33 .Dd May 24, 2005
34 .Dt SK 4
35 .Os
36 .Sh NAME
37 .Nm sk
38 .Nd "SysKonnect SK-984x and SK-982x PCI Gigabit Ethernet adapter driver"
39 .Sh SYNOPSIS
40 .Cd "device miibus"
41 .Cd "device sk"
42 .Sh DESCRIPTION
43 The
44 .Nm
45 driver provides support for the SysKonnect SK-984x and SK-982x series PCI
46 Gigabit Ethernet adapters.
47 .Pp
48 The SysKonnect adapters consist of two main components: the XaQti Corp.
49 XMAC II gigabit MAC and the SysKonnect GEnesis controller ASIC.
50 The
51 XMAC provides the gigabit MAC and PHY support while the GEnesis
52 provides an interface to the PCI bus, DMA support, packet buffering
53 and arbitration.
54 The GEnesis can control up to two XMACs simultaneously,
55 allowing dual-port NIC configurations.
56 .Pp
57 The SK-982x 1000baseT adapters also include a Broadcom BCM5400 1000baseTX
58 PHY which is used in place of the XMAC's internal PHY.
59 The Broadcom PHY is connected to the XMAC via its GMII port.
60 .Pp
61 The
62 .Nm
63 driver configures dual port SysKonnect adapters such that each XMAC
64 is treated as a separate logical network interface.
65 Both ports can
66 operate independently of each other and can be connected to separate
67 networks.
68 The SysKonnect driver software currently only uses the
69 second port on dual port adapters for failover purposes: if the link
70 on the primary port fails, the SysKonnect driver will automatically
71 switch traffic onto the second port.
72 .Pp
73 Also supported is the Marvell Semiconductor 88E1000* gigabit PHY.
74 .Pp
75 The XaQti XMAC II supports full and half duplex operation with
76 autonegotiation.
77 The XMAC also supports unlimited frame sizes.
78 Support for jumbo frames is provided via the interface MTU setting.
79 Selecting an MTU larger than 1500 bytes with the
80 .Xr ifconfig 8
81 utility configures the adapter to receive and transmit jumbo frames.
82 Using jumbo frames can greatly improve performance for certain tasks,
83 such as file transfers and data streaming.
84 .Pp
85 The
86 .Nm
87 driver supports the following media types:
88 .Pp
89 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
90 .It autoselect
91 Enable autoselection of the media type and options.
92 The user can manually override
93 the autoselected mode by adding media options to the
94 .Pa /etc/rc.conf
95 file.
96 .It 1000baseTX
97 Set 1000baseTX operation over twisted pair.
98 This is only available
99 for SK-982x series adapters with 1000baseT ports.
100 Both
101 .Ar full-duplex
102 and
103 .Ar half-duplex
104 modes are supported.
105 .It 1000baseSX
106 Set 1000Mbps (Gigabit Ethernet) operation.
107 Both
108 .Ar full-duplex
109 and
110 .Ar half-duplex
111 modes are supported.
112 .El
113 .Pp
114 The
115 .Nm
116 driver supports the following media options:
117 .Pp
118 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
119 .It full-duplex
120 Force full duplex operation
121 .It half-duplex
122 Force half duplex operation.
123 .El
124 .Pp
125 The
126 .Nm
127 driver also supports one special link option for 1000baseTX cards:
128 .Pp
129 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
130 .It link0
131 With 1000baseTX cards, establishing a link between two ports requires
132 that one port is configured as master and the other one as slave.
133 With autonegotiation,
134 the master/slave settings will be chosen automatically.
135 However when manually selecting the link state, it is necessary to
136 force one side of the link to be a master and the other a slave.
137 The
138 .Nm
139 driver configures the ports as slaves by default.
140 Setting the
141 .Ar link0
142 flag with
143 .Xr ifconfig 8
144 will set a port as a master instead.
145 .El
146 .Pp
147 For more information on configuring this device, see
148 .Xr ifconfig 8 .
149 .Sh HARDWARE
150 Adapters supported by the
151 .Nm
152 driver include:
153 .Pp
154 .Bl -bullet -compact
155 .It
156 3Com 3C940 single port, 1000baseT adapter
157 .It
158 3Com 3C2000-T single port, 1000baseT adapter
159 .It
160 Belkin F5D5005 single port, 1000baseT adapter
161 .It
162 D-Link DGE-530T single port, 1000baseT adapter
163 .It
164 Linksys EG1032 single port, 1000baseT adapter
165 .It
166 SK-9521 SK-NET GE-T single port, 1000baseT adapter
167 .It
168 SK-9821 SK-NET GE-T single port, 1000baseT adapter
169 .It
170 SK-9822 SK-NET GE-T dual port, 1000baseT adapter
171 .It
172 SK-9841 SK-NET GE-LX single port, single mode fiber adapter
173 .It
174 SK-9842 SK-NET GE-LX dual port, single mode fiber adapter
175 .It
176 SK-9843 SK-NET GE-SX single port, multimode fiber adapter
177 .It
178 SK-9844 SK-NET GE-SX dual port, multimode fiber adapter
179 .It
180 SMC 9452TX single port, 1000baseT adapter
181 .El
182 .Sh SYSCTL VARIABLES
183 The following variable is available as both
184 .Xr sysctl 8
185 variable and
186 .Xr loader 8
187 tunable:
188 .Bl -tag -width indent
189 .It Va dev.skc.%d.int_mod
190 .Pp
191 This variable controls interrupt moderation.
192 The accepted range is 10 to 10000, default value is 100 microseconds.
193 The interface has to be brought down and up again before a change takes effect.
194 .El
195 .Sh DIAGNOSTICS
196 .Bl -diag
197 .It "sk%d: couldn't map memory"
198 A fatal initialization error has occurred.
199 .It "sk%d: couldn't map ports"
200 A fatal initialization error has occurred.
201 .It "sk%d: couldn't map interrupt"
202 A fatal initialization error has occurred.
203 .It "sk%d: no memory for softc struct!"
204 The driver failed to allocate memory for per-device instance information
205 during initialization.
206 .It "sk%d: failed to enable memory mapping!"
207 The driver failed to initialize PCI shared memory mapping.
208 This might
209 happen if the card is not in a bus-master slot.
210 .It "sk%d: no memory for jumbo buffers!"
211 The driver failed to allocate memory for jumbo frames during
212 initialization.
213 .It "sk%d: watchdog timeout"
214 The device has stopped responding to the network, or there is a problem with
215 the network connection (cable).
216 .El
217 .Sh SEE ALSO
218 .Xr arp 4 ,
219 .Xr miibus 4 ,
220 .Xr netintro 4 ,
221 .Xr ng_ether 4 ,
222 .Xr vlan 4 ,
223 .Xr ifconfig 8
224 .Rs
225 .%T XaQti XMAC II datasheet
226 .%O http://www.xaqti.com
227 .Re
228 .Rs
229 .%T SysKonnect GEnesis programming manual
230 .%O http://www.syskonnect.com
231 .Re
232 .Sh HISTORY
233 The
234 .Nm
235 device driver first appeared in
236 .Fx 3.0 .
237 .Sh AUTHORS
238 The
239 .Nm
240 driver was written by
241 .An Bill Paul Aq wpaul@ctr.columbia.edu .