1999-07-09 04:30:09 +00:00
|
|
|
.\" Copyright (c) 1997, 1998, 1999
|
|
|
|
.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Bill Paul.
|
|
|
|
.\" 4. Neither the name of the author nor the names of any co-contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
|
|
.\" THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1999-07-09 04:30:09 +00:00
|
|
|
.\"
|
2012-08-29 15:34:31 +00:00
|
|
|
.Dd August 29, 2012
|
1999-11-15 23:14:32 +00:00
|
|
|
.Dt SK 4
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1999-07-09 04:30:09 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm sk
|
2004-08-24 17:38:53 +00:00
|
|
|
.Nd "SysKonnect SK-984x and SK-982x PCI Gigabit Ethernet adapter driver"
|
1999-07-09 04:30:09 +00:00
|
|
|
.Sh SYNOPSIS
|
2005-10-07 02:32:16 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
2005-07-21 05:02:39 +00:00
|
|
|
kernel configuration file:
|
2005-07-19 00:26:30 +00:00
|
|
|
.Bd -ragged -offset indent
|
2000-04-24 02:01:56 +00:00
|
|
|
.Cd "device miibus"
|
2000-01-23 16:13:26 +00:00
|
|
|
.Cd "device sk"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2005-10-07 02:32:16 +00:00
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
2005-07-19 00:26:30 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
if_sk_load="YES"
|
|
|
|
.Ed
|
1999-07-09 04:30:09 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2000-04-22 02:17:44 +00:00
|
|
|
driver provides support for the SysKonnect SK-984x and SK-982x series PCI
|
2004-08-24 17:38:53 +00:00
|
|
|
Gigabit Ethernet adapters.
|
1999-07-09 04:30:09 +00:00
|
|
|
.Pp
|
|
|
|
The SysKonnect adapters consist of two main components: the XaQti Corp.
|
2000-03-01 14:50:24 +00:00
|
|
|
XMAC II gigabit MAC and the SysKonnect GEnesis controller ASIC.
|
|
|
|
The
|
2002-01-21 12:09:13 +00:00
|
|
|
XMAC provides the gigabit MAC and PHY support while the GEnesis
|
1999-07-09 04:30:09 +00:00
|
|
|
provides an interface to the PCI bus, DMA support, packet buffering
|
2000-03-01 14:50:24 +00:00
|
|
|
and arbitration.
|
|
|
|
The GEnesis can control up to two XMACs simultaneously,
|
1999-07-09 04:30:09 +00:00
|
|
|
allowing dual-port NIC configurations.
|
|
|
|
.Pp
|
2000-04-22 02:17:44 +00:00
|
|
|
The SK-982x 1000baseT adapters also include a Broadcom BCM5400 1000baseTX
|
2000-05-04 17:30:46 +00:00
|
|
|
PHY which is used in place of the XMAC's internal PHY.
|
|
|
|
The Broadcom PHY is connected to the XMAC via its GMII port.
|
2000-04-22 02:17:44 +00:00
|
|
|
.Pp
|
1999-07-09 04:30:09 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver configures dual port SysKonnect adapters such that each XMAC
|
2000-03-01 14:50:24 +00:00
|
|
|
is treated as a separate logical network interface.
|
|
|
|
Both ports can
|
2002-01-21 12:09:13 +00:00
|
|
|
operate independently of each other and can be connected to separate
|
2000-03-01 14:50:24 +00:00
|
|
|
networks.
|
|
|
|
The SysKonnect driver software currently only uses the
|
1999-07-09 04:30:09 +00:00
|
|
|
second port on dual port adapters for failover purposes: if the link
|
|
|
|
on the primary port fails, the SysKonnect driver will automatically
|
|
|
|
switch traffic onto the second port.
|
|
|
|
.Pp
|
2009-01-24 04:08:00 +00:00
|
|
|
Also supported is the Marvell Semiconductor 88E100* gigabit PHY.
|
2003-09-20 11:10:51 +00:00
|
|
|
.Pp
|
1999-07-09 04:30:09 +00:00
|
|
|
The XaQti XMAC II supports full and half duplex operation with
|
2000-03-01 14:50:24 +00:00
|
|
|
autonegotiation.
|
|
|
|
The XMAC also supports unlimited frame sizes.
|
1999-07-09 04:30:09 +00:00
|
|
|
Support for jumbo frames is provided via the interface MTU setting.
|
|
|
|
Selecting an MTU larger than 1500 bytes with the
|
|
|
|
.Xr ifconfig 8
|
|
|
|
utility configures the adapter to receive and transmit jumbo frames.
|
|
|
|
Using jumbo frames can greatly improve performance for certain tasks,
|
|
|
|
such as file transfers and data streaming.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media types:
|
|
|
|
.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
|
|
|
|
.It autoselect
|
|
|
|
Enable autoselection of the media type and options.
|
|
|
|
The user can manually override
|
|
|
|
the autoselected mode by adding media options to the
|
|
|
|
.Pa /etc/rc.conf
|
|
|
|
file.
|
2000-04-22 02:17:44 +00:00
|
|
|
.It 1000baseTX
|
2000-05-04 17:30:46 +00:00
|
|
|
Set 1000baseTX operation over twisted pair.
|
|
|
|
This is only available
|
2000-04-22 02:17:44 +00:00
|
|
|
for SK-982x series adapters with 1000baseT ports.
|
|
|
|
Both
|
|
|
|
.Ar full-duplex
|
|
|
|
and
|
|
|
|
.Ar half-duplex
|
|
|
|
modes are supported.
|
1999-07-09 04:30:09 +00:00
|
|
|
.It 1000baseSX
|
2004-08-24 17:38:53 +00:00
|
|
|
Set 1000Mbps (Gigabit Ethernet) operation.
|
2000-03-01 14:50:24 +00:00
|
|
|
Both
|
1999-07-09 04:30:09 +00:00
|
|
|
.Ar full-duplex
|
|
|
|
and
|
|
|
|
.Ar half-duplex
|
|
|
|
modes are supported.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media options:
|
|
|
|
.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
|
|
|
|
.It full-duplex
|
2012-05-12 03:25:46 +00:00
|
|
|
Force full duplex operation.
|
1999-07-09 04:30:09 +00:00
|
|
|
.It half-duplex
|
|
|
|
Force half duplex operation.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
For more information on configuring this device, see
|
|
|
|
.Xr ifconfig 8 .
|
2004-08-24 17:38:53 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
Adapters supported by the
|
|
|
|
.Nm
|
|
|
|
driver include:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
2004-11-17 21:39:40 +00:00
|
|
|
3Com 3C940 single port, 1000baseT adapter
|
2004-08-24 17:38:53 +00:00
|
|
|
.It
|
2005-05-24 15:42:42 +00:00
|
|
|
3Com 3C2000-T single port, 1000baseT adapter
|
|
|
|
.It
|
2004-08-24 17:38:53 +00:00
|
|
|
Belkin F5D5005 single port, 1000baseT adapter
|
|
|
|
.It
|
2005-04-24 20:26:09 +00:00
|
|
|
D-Link DGE-530T single port, 1000baseT adapter
|
|
|
|
.It
|
2009-01-24 04:08:00 +00:00
|
|
|
Linksys (revision 2) single port, 1000baseT adapter
|
2004-08-24 17:38:53 +00:00
|
|
|
.It
|
|
|
|
SK-9521 SK-NET GE-T single port, 1000baseT adapter
|
|
|
|
.It
|
|
|
|
SK-9821 SK-NET GE-T single port, 1000baseT adapter
|
|
|
|
.It
|
|
|
|
SK-9822 SK-NET GE-T dual port, 1000baseT adapter
|
|
|
|
.It
|
|
|
|
SK-9841 SK-NET GE-LX single port, single mode fiber adapter
|
|
|
|
.It
|
|
|
|
SK-9842 SK-NET GE-LX dual port, single mode fiber adapter
|
|
|
|
.It
|
|
|
|
SK-9843 SK-NET GE-SX single port, multimode fiber adapter
|
|
|
|
.It
|
|
|
|
SK-9844 SK-NET GE-SX dual port, multimode fiber adapter
|
|
|
|
.It
|
|
|
|
SMC 9452TX single port, 1000baseT adapter
|
|
|
|
.El
|
2008-02-14 10:01:48 +00:00
|
|
|
.Sh LOADER TUNABLES
|
|
|
|
Tunables can be set at the
|
|
|
|
.Xr loader 8
|
|
|
|
prompt before booting the kernel or stored in
|
|
|
|
.Xr loader.conf 5 .
|
|
|
|
.Bl -tag -width xxxxxx
|
|
|
|
.It Va hw.skc.jumbo_disable
|
|
|
|
Disable jumbo frame support.
|
|
|
|
Systems with less memory can set it to a non-zero value to save memory.
|
|
|
|
The default value is 0.
|
|
|
|
.El
|
2005-04-24 20:26:09 +00:00
|
|
|
.Sh SYSCTL VARIABLES
|
|
|
|
The following variable is available as both
|
|
|
|
.Xr sysctl 8
|
|
|
|
variable and
|
|
|
|
.Xr loader 8
|
|
|
|
tunable:
|
2008-02-14 10:01:48 +00:00
|
|
|
.Bl -tag -width xxxxxx
|
2005-04-24 20:26:09 +00:00
|
|
|
.It Va dev.skc.%d.int_mod
|
|
|
|
This variable controls interrupt moderation.
|
2008-02-14 10:01:48 +00:00
|
|
|
The accepted range is 10 to 10000.
|
|
|
|
The default value is 100 microseconds.
|
2005-04-24 20:26:09 +00:00
|
|
|
The interface has to be brought down and up again before a change takes effect.
|
|
|
|
.El
|
1999-07-09 04:30:09 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "sk%d: couldn't map memory"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "sk%d: couldn't map ports"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "sk%d: couldn't map interrupt"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "sk%d: no memory for softc struct!"
|
|
|
|
The driver failed to allocate memory for per-device instance information
|
|
|
|
during initialization.
|
|
|
|
.It "sk%d: failed to enable memory mapping!"
|
2000-03-01 14:50:24 +00:00
|
|
|
The driver failed to initialize PCI shared memory mapping.
|
|
|
|
This might
|
1999-07-09 04:30:09 +00:00
|
|
|
happen if the card is not in a bus-master slot.
|
|
|
|
.It "sk%d: no memory for jumbo buffers!"
|
|
|
|
The driver failed to allocate memory for jumbo frames during
|
|
|
|
initialization.
|
|
|
|
.It "sk%d: watchdog timeout"
|
|
|
|
The device has stopped responding to the network, or there is a problem with
|
|
|
|
the network connection (cable).
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2007-01-30 08:40:04 +00:00
|
|
|
.Xr altq 4 ,
|
1999-07-09 04:30:09 +00:00
|
|
|
.Xr arp 4 ,
|
2004-01-09 17:43:37 +00:00
|
|
|
.Xr miibus 4 ,
|
2001-07-14 19:41:16 +00:00
|
|
|
.Xr netintro 4 ,
|
2000-05-04 17:40:13 +00:00
|
|
|
.Xr ng_ether 4 ,
|
2001-07-06 16:46:48 +00:00
|
|
|
.Xr vlan 4 ,
|
2000-05-04 17:40:13 +00:00
|
|
|
.Xr ifconfig 8
|
1999-07-09 04:30:09 +00:00
|
|
|
.Rs
|
|
|
|
.%T XaQti XMAC II datasheet
|
2022-02-05 19:54:59 +00:00
|
|
|
.%U https://people.freebsd.org/~wpaul/SysKonnect/xmacii_datasheet_rev_c_9-29.pdf
|
1999-07-09 04:30:09 +00:00
|
|
|
.Re
|
|
|
|
.Rs
|
|
|
|
.%T SysKonnect GEnesis programming manual
|
2010-01-15 16:01:22 +00:00
|
|
|
.%U http://www.syskonnect.com
|
1999-07-09 04:30:09 +00:00
|
|
|
.Re
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
|
|
|
.Fx 3.0 .
|
1999-08-15 10:48:36 +00:00
|
|
|
.Sh AUTHORS
|
1999-07-09 04:30:09 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Bill Paul Aq Mt wpaul@ctr.columbia.edu .
|