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 August 21, 1999 34.Dt STE 4 35.Os 36.Sh NAME 37.Nm ste 38.Nd "Sundance Technologies ST201 fast ethernet device driver" 39.Sh SYNOPSIS 40.Cd "device miibus" 41.Cd "device ste" 42.Sh DESCRIPTION 43The 44.Nm 45driver provides support for PCI ethernet adapters and embedded 46controllers based on the Sundance Technologies ST201 PCI fast 47ethernet controller chip. 48This includes both the D-Link DFE-550TX and the DFE-530TXS. 49.Pp 50The Sundance ST201 uses bus master DMA and is designed to be a 513Com Etherlink XL workalike. 52It uses the same DMA descriptor 53structure and is very similar in operation, however its register 54layout is different. 55The ST201 has a 64-bit multicast hash filter 56and a single perfect filter entry for the station address. 57It supports both 10 and 100Mbps speeds in either full or half duplex 58using an MII transceiver. 59.Pp 60The 61.Nm 62driver supports the following media types: 63.Pp 64.Bl -tag -width xxxxxxxxxxxxxxxxxxxx 65.It autoselect 66Enable autoselection of the media type and options. 67The user can manually override 68the autoselected mode by adding media options to the 69.Pa /etc/rc.conf 70file. 71.It 10baseT/UTP 72Set 10Mbps operation. 73The 74.Ar mediaopt 75option can also be used to select either 76.Ar full-duplex 77or 78.Ar half-duplex 79modes. 80.It 100baseTX 81Set 100Mbps (fast ethernet) operation. 82The 83.Ar mediaopt 84option can also be used to select either 85.Ar full-duplex 86or 87.Ar half-duplex 88modes. 89.El 90.Pp 91The 92.Nm 93driver supports the following media options: 94.Pp 95.Bl -tag -width xxxxxxxxxxxxxxxxxxxx 96.It full-duplex 97Force full duplex operation 98.It half-duplex 99Force half duplex operation. 100.El 101.Pp 102For more information on configuring this device, see 103.Xr ifconfig 8 . 104.Sh DIAGNOSTICS 105.Bl -diag 106.It "ste%d: couldn't map ports/memory" 107A fatal initialization error has occurred. 108.It "ste%d: couldn't map interrupt" 109A fatal initialization error has occurred. 110.It "ste%d: watchdog timeout" 111The device has stopped responding to the network, or there is a problem with 112the network connection (cable). 113.It "ste%d: no memory for rx list" 114The driver failed to allocate an mbuf for the receiver ring. 115.It "ste%d: no memory for tx list" 116The driver failed to allocate an mbuf for the transmitter ring when 117allocating a pad buffer or collapsing an mbuf chain into a cluster. 118.It "ste%d: chip is in D3 power state -- setting to D0" 119This message applies only to adapters which support power 120management. 121Some operating systems place the controller in low power 122mode when shutting down, and some PCI BIOSes fail to bring the chip 123out of this state before configuring it. 124The controller loses all of 125its PCI configuration in the D3 state, so if the BIOS does not set 126it back to full power mode in time, it won't be able to configure it 127correctly. 128The driver tries to detect this condition and bring 129the adapter back to the D0 (full power) state, but this may not be 130enough to return the driver to a fully operational condition. 131If 132you see this message at boot time and the driver fails to attach 133the device as a network interface, you will have to perform a second 134warm boot to have the device properly configured. 135.Pp 136Note that this condition only occurs when warm booting from another 137operating system. 138If you power down your system prior to booting 139.Fx , 140the card should be configured correctly. 141.El 142.Sh SEE ALSO 143.Xr arp 4 , 144.Xr miibus 4 , 145.Xr netintro 4 , 146.Xr ng_ether 4 , 147.Xr ifconfig 8 148.Rs 149.%T Sundance ST201 data sheet 150.%O http://www.sundanceti.com 151.Re 152.Sh HISTORY 153The 154.Nm 155device driver first appeared in 156.Fx 3.0 . 157.Sh AUTHORS 158The 159.Nm 160driver was written by 161.An Bill Paul Aq wpaul@ee.columbia.edu . 162