1999-08-21 18:34:58 +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-08-21 18:34:58 +00:00
|
|
|
.\"
|
2004-11-24 19:06:43 +00:00
|
|
|
.Dd November 24, 2004
|
1999-11-15 23:14:32 +00:00
|
|
|
.Dt STE 4
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1999-08-21 18:34:58 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ste
|
2004-09-03 04:13:22 +00:00
|
|
|
.Nd "Sundance Technologies ST201 Fast Ethernet device driver"
|
1999-08-21 18:34:58 +00:00
|
|
|
.Sh SYNOPSIS
|
2000-01-23 16:13:26 +00:00
|
|
|
.Cd "device miibus"
|
|
|
|
.Cd "device ste"
|
1999-08-21 18:34:58 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2004-09-03 04:13:22 +00:00
|
|
|
driver provides support for PCI Ethernet adapters and embedded
|
|
|
|
controllers based on the Sundance Technologies ST201 PCI Fast
|
|
|
|
Ethernet controller chip.
|
1999-08-21 18:34:58 +00:00
|
|
|
.Pp
|
|
|
|
The Sundance ST201 uses bus master DMA and is designed to be a
|
2000-03-01 14:50:24 +00:00
|
|
|
3Com Etherlink XL workalike.
|
|
|
|
It uses the same DMA descriptor
|
1999-08-21 18:34:58 +00:00
|
|
|
structure and is very similar in operation, however its register
|
2000-03-01 14:50:24 +00:00
|
|
|
layout is different.
|
|
|
|
The ST201 has a 64-bit multicast hash filter
|
|
|
|
and a single perfect filter entry for the station address.
|
2003-12-30 22:26:52 +00:00
|
|
|
It supports both 10 and 100Mbps speeds in either full or half duplex
|
1999-08-21 18:34:58 +00:00
|
|
|
using an MII transceiver.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media types:
|
|
|
|
.Pp
|
|
|
|
.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
|
2003-12-30 22:26:52 +00:00
|
|
|
file.
|
1999-08-21 18:34:58 +00:00
|
|
|
.It 10baseT/UTP
|
2000-03-01 14:50:24 +00:00
|
|
|
Set 10Mbps operation.
|
|
|
|
The
|
1999-08-21 18:34:58 +00:00
|
|
|
.Ar mediaopt
|
|
|
|
option can also be used to select either
|
|
|
|
.Ar full-duplex
|
|
|
|
or
|
2001-02-01 16:38:02 +00:00
|
|
|
.Ar half-duplex
|
|
|
|
modes.
|
1999-08-21 18:34:58 +00:00
|
|
|
.It 100baseTX
|
2004-09-03 04:13:22 +00:00
|
|
|
Set 100Mbps (Fast Ethernet) operation.
|
2000-03-01 14:50:24 +00:00
|
|
|
The
|
1999-08-21 18:34:58 +00:00
|
|
|
.Ar mediaopt
|
|
|
|
option can also be used to select either
|
|
|
|
.Ar full-duplex
|
|
|
|
or
|
|
|
|
.Ar half-duplex
|
|
|
|
modes.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media options:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
|
|
|
|
.It full-duplex
|
|
|
|
Force full duplex operation
|
|
|
|
.It half-duplex
|
|
|
|
Force half duplex operation.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
For more information on configuring this device, see
|
|
|
|
.Xr ifconfig 8 .
|
2004-09-03 04:13:22 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports Sundance Technologies ST201 based Fast Ethernet
|
|
|
|
adapters and embedded controllers including:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
D-Link DFE-530TXS
|
|
|
|
.It
|
|
|
|
D-Link DFE-550TX
|
2004-11-08 22:41:58 +00:00
|
|
|
.It
|
|
|
|
D-Link DFE-580TX
|
2004-09-03 04:13:22 +00:00
|
|
|
.El
|
1999-08-21 18:34:58 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "ste%d: couldn't map ports/memory"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "ste%d: couldn't map interrupt"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "ste%d: watchdog timeout"
|
|
|
|
The device has stopped responding to the network, or there is a problem with
|
|
|
|
the network connection (cable).
|
|
|
|
.It "ste%d: no memory for rx list"
|
|
|
|
The driver failed to allocate an mbuf for the receiver ring.
|
|
|
|
.It "ste%d: no memory for tx list"
|
|
|
|
The driver failed to allocate an mbuf for the transmitter ring when
|
|
|
|
allocating a pad buffer or collapsing an mbuf chain into a cluster.
|
|
|
|
.It "ste%d: chip is in D3 power state -- setting to D0"
|
|
|
|
This message applies only to adapters which support power
|
2000-03-01 14:50:24 +00:00
|
|
|
management.
|
|
|
|
Some operating systems place the controller in low power
|
1999-08-21 18:34:58 +00:00
|
|
|
mode when shutting down, and some PCI BIOSes fail to bring the chip
|
2000-03-01 14:50:24 +00:00
|
|
|
out of this state before configuring it.
|
|
|
|
The controller loses all of
|
1999-08-21 18:34:58 +00:00
|
|
|
its PCI configuration in the D3 state, so if the BIOS does not set
|
|
|
|
it back to full power mode in time, it won't be able to configure it
|
2000-03-01 14:50:24 +00:00
|
|
|
correctly.
|
|
|
|
The driver tries to detect this condition and bring
|
1999-08-21 18:34:58 +00:00
|
|
|
the adapter back to the D0 (full power) state, but this may not be
|
2000-03-01 14:50:24 +00:00
|
|
|
enough to return the driver to a fully operational condition.
|
|
|
|
If
|
1999-08-21 18:34:58 +00:00
|
|
|
you see this message at boot time and the driver fails to attach
|
2003-12-30 22:26:52 +00:00
|
|
|
the device as a network interface, you will have to perform a second
|
1999-08-21 18:34:58 +00:00
|
|
|
warm boot to have the device properly configured.
|
|
|
|
.Pp
|
|
|
|
Note that this condition only occurs when warm booting from another
|
2000-03-01 14:50:24 +00:00
|
|
|
operating system.
|
|
|
|
If you power down your system prior to booting
|
1999-08-21 18:34:58 +00:00
|
|
|
.Fx ,
|
|
|
|
the card should be configured correctly.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr arp 4 ,
|
2003-02-15 17:12:53 +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 ,
|
2004-11-24 19:06:43 +00:00
|
|
|
.Xr polling 4 ,
|
2000-05-04 17:40:13 +00:00
|
|
|
.Xr ifconfig 8
|
1999-08-21 18:34:58 +00:00
|
|
|
.Rs
|
|
|
|
.%T Sundance ST201 data sheet
|
|
|
|
.%O http://www.sundanceti.com
|
|
|
|
.Re
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
|
|
|
.Fx 3.0 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Bill Paul Aq wpaul@ee.columbia.edu .
|