1 .\" $NetBSD: sk.4,v 1.12 2008/05/02 18:11:05 martin Exp $
3 .\" Copyright (c) 2003, The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 .\" POSSIBILITY OF SUCH DAMAGE.
27 .\" $OpenBSD: sk.4,v 1.41 2006/08/16 22:01:56 kettenis Exp $
29 .\" Copyright (c) 1997, 1998, 1999
30 .\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
32 .\" Redistribution and use in source and binary forms, with or without
33 .\" modification, are permitted provided that the following conditions
35 .\" 1. Redistributions of source code must retain the above copyright
36 .\" notice, this list of conditions and the following disclaimer.
37 .\" 2. Redistributions in binary form must reproduce the above copyright
38 .\" notice, this list of conditions and the following disclaimer in the
39 .\" documentation and/or other materials provided with the distribution.
40 .\" 3. All advertising materials mentioning features or use of this software
41 .\" must display the following acknowledgement:
42 .\" This product includes software developed by Bill Paul.
43 .\" 4. Neither the name of the author nor the names of any co-contributors
44 .\" may be used to endorse or promote products derived from this software
45 .\" without specific prior written permission.
47 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
48 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
49 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
50 .\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
51 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
52 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
53 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
54 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
55 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
56 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
57 .\" THE POSSIBILITY OF SUCH DAMAGE.
59 .\" $FreeBSD: src/share/man/man4/man4.i386/sk.4,v 1.3 1999/08/28 00:20:29 peter Exp $
67 .Nd SysKonnect XMAC II and Marvell GMAC based gigabit ethernet
69 .Cd "skc* at pci? dev ? function ?"
71 .Cd "mskc* at pci? dev ? function ?"
76 driver provides support for SysKonnect based gigabit ethernet adapters
77 and Marvell based gigabit ethernet adapters, including the following:
79 .Bl -bullet -offset indent -compact
81 SK-9821 SK-NET GE-T single port, copper adapter
83 SK-9822 SK-NET GE-T dual port, copper adapter
85 SK-9841 SK-NET GE-LX single port, single mode fiber adapter
87 SK-9842 SK-NET GE-LX dual port, single mode fiber adapter
89 SK-9843 SK-NET GE-SX single port, multimode fiber adapter
91 SK-9844 SK-NET GE-SX dual port, multimode fiber adapter
93 SK-9521 V2.0 single port, copper adapter (32-bit)
95 SK-9821 V2.0 single port, copper adapter
97 SK-9843 V2.0 single port, copper adapter
99 3Com 3c940 single port, copper adapter
101 Belkin Gigabit Desktop Network PCI Card, single port, copper (32-bit)
103 D-Link DGE-530T single port, copper adapter
105 Linksys EG1032v2 single-port, copper adapter
107 Linksys EG1064v2 single-port, copper adapter
112 driver provides support for the Marvell Yukon-2 based Gigabit Ethernet
113 adapters, including the following:
115 .Bl -bullet -offset indent -compact
117 Marvell Yukon 88E8035, copper adapter
119 Marvell Yukon 88E8036, copper adapter
121 Marvell Yukon 88E8038, copper adapter
123 Marvell Yukon 88E8050, copper adapter
125 Marvell Yukon 88E8052, copper adapter
127 Marvell Yukon 88E8053, copper adapter
129 Marvell Yukon 88E8055, copper adapter
131 SK-9E21 1000Base-T single port, copper adapter
133 SK-9E22 1000Base-T dual port, copper adapter
135 SK-9E81 1000Base-SX single port, multimode fiber adapter
137 SK-9E82 1000Base-SX dual port, multimode fiber adapter
139 SK-9E91 1000Base-LX single port, single mode fiber adapter
141 SK-9E92 1000Base-LX dual port, single mode fiber adapter
143 SK-9S21 1000Base-T single port, copper adapter
145 SK-9S22 1000Base-T dual port, copper adapter
147 SK-9S81 1000Base-SX single port, multimode fiber adapter
149 SK-9S82 1000Base-SX dual port, multimode fiber adapter
151 SK-9S91 1000Base-LX single port, single mode fiber adapter
153 SK-9S92 1000Base-LX dual port, single mode fiber adapter
155 SK-9E21D 1000Base-T single port, copper adapter
158 The SysKonnect based adapters consist of two main components: the
159 XaQti Corp. XMAC II Gigabit MAC
161 and the SysKonnect GEnesis controller ASIC
163 The XMAC provides the Gigabit MAC and PHY support
164 while the GEnesis provides an interface to the PCI bus, DMA support,
165 packet buffering and arbitration.
166 The GEnesis can control up to two XMACs simultaneously,
167 allowing dual-port NIC configurations.
169 The Marvell based adapters are a single integrated circuit, but are
170 still presented as a separate MAC
174 At this time, there are no dual-port Marvell based NICs.
178 driver configures dual port SysKonnect adapters such that each XMAC
179 is treated as a separate logical network interface.
180 Both ports can operate independently of each other and can be connected
181 to separate networks.
182 The SysKonnect driver software currently only uses the second port on
183 dual port adapters for failover purposes: if the link
184 on the primary port fails, the SysKonnect driver will automatically
185 switch traffic onto the second port.
187 The XaQti XMAC II supports full and half duplex operation with
189 The XMAC also supports unlimited frame sizes.
190 Support for jumbo frames is provided via the interface MTU setting.
191 Selecting an MTU larger than 1500 bytes with the
193 utility configures the adapter to receive and transmit jumbo frames.
194 Using jumbo frames can greatly improve performance for certain tasks,
195 such as file transfers and data streaming.
197 Hardware TCP/IP checksum offloading for IPv4 is supported.
199 The following media types and options (as given to
202 .Bl -tag -width xxx -offset indent
203 .It Cm media No autoselect
204 Enable autoselection of the media type and options.
205 The user can manually override
206 the autoselected mode.
207 .\" by adding media options to the appropriate
208 .\" .Xr hostname.if 5
210 .It Cm media No 1000baseSX Cm mediaopt No full-duplex
211 Set 1000Mbps (Gigabit Ethernet) operation on fiber and force full-duplex mode.
212 .It Cm media No 1000baseSX Cm mediaopt No half-duplex
213 Set 1000Mbps (Gigabit Ethernet) operation on fiber and force half-duplex mode.
214 .It Cm media No 1000baseT Cm mediaopt No full-duplex
215 Set 1000Mbps (Gigabit Ethernet) operation and force full-duplex mode.
218 For more information on configuring this device, see
220 To view a list of media types and options supported by the card, try
221 .Ic ifconfig Fl m Aq device .
223 .Ic ifconfig Fl m Ar sk0 .
226 .It "sk%d: couldn't map memory"
227 A fatal initialization error has occurred.
228 .It "sk%d: couldn't map ports"
229 A fatal initialization error has occurred.
230 .It "sk%d: couldn't map interrupt"
231 A fatal initialization error has occurred.
232 .It "sk%d: failed to enable memory mapping!"
233 The driver failed to initialize PCI shared memory mapping.
234 This might happen if the card is not in a bus-master slot.
235 .It "sk%d: no memory for jumbo buffers!"
236 The driver failed to allocate memory for jumbo frames during
238 .It "sk%d: watchdog timeout"
239 The device has stopped responding to the network, or there is a problem with
240 the network connection (cable).
249 .%T XaQti XMAC II datasheet
250 .%O http://www.xaqti.com
253 .%T SysKonnect GEnesis programming manual
254 .%O http://www.syskonnect.com
259 device driver first appeared in
270 driver first appeared in
278 driver was written by
279 .An Bill Paul Aq wpaul@ctr.columbia.edu .
280 Support for the Marvell Yukon-2 was added by
281 .An Mark Kettenis Aq kettenis@openbsd.org .
286 Support for checksum offload is unimplemented.
288 Performance with at least some Marvell-based adapters is poor,
289 especially on loaded PCI buses or when the adapters are behind
291 It is believed that this is because the Marvell parts have
292 significantly less buffering than the original SysKonnect cards