xref: /freebsd/share/man/man4/sis.4 (revision 64db83a8ab2d1f72a9b2174b39d2ef42b5b0580c)
1.\" Copyright (c) 1997, 1998, 1999
2.\"	Bill Paul <wpaul@ee.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 September 4, 1999
34.Dt SIS 4
35.Os FreeBSD
36.Sh NAME
37.Nm sis
38.Nd
39Silicon Integrated Systems fast ethernet device driver
40.Sh SYNOPSIS
41.Cd "device miibus"
42.Cd "device sis"
43.Sh DESCRIPTION
44The
45.Nm
46driver provides support for PCI ethernet adapters and embedded
47controllers based on the Silicon Integrated Systems SiS 900
48and SiS 7016 fast ethernet controller chips.
49.Pp
50The SiS 900 is a 100Mbps ethernet MAC and MII-compliant transceiver
51in a single package.
52It uses a bus master DMA and a scatter/gather
53descriptor scheme.
54The SiS 7016 is similar to the SiS 900 except
55that it has no internal PHY, requiring instead an external transceiver
56to be attached to its MII interface.
57The SiS 900 and SiS 7016 both have a 128-bit multicast hash filter
58and a single perfect filter entry for the station address.
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
70fine.
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 modes.
79.It 100baseTX
80Set 100Mbps (fast ethernet) operation.
81The
82.Ar mediaopt
83option can also be used to select either
84.Ar full-duplex
85or
86.Ar half-duplex
87modes.
88.El
89.Pp
90The
91.Nm
92driver supports the following media options:
93.Pp
94.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
95.It full-duplex
96Force full duplex operation
97.It half-duplex
98Force half duplex operation.
99.El
100.Pp
101For more information on configuring this device, see
102.Xr ifconfig 8 .
103.Sh DIAGNOSTICS
104.Bl -diag
105.It "sis%d: couldn't map ports/memory"
106A fatal initialization error has occurred.
107.It "sis%d: couldn't map interrupt"
108A fatal initialization error has occurred.
109.It "sis%d: watchdog timeout"
110The device has stopped responding to the network, or there is a problem with
111the network connection (cable).
112.It "sis%d: no memory for rx list"
113The driver failed to allocate an mbuf for the receiver ring.
114.It "sis%d: no memory for tx list"
115The driver failed to allocate an mbuf for the transmitter ring when
116allocating a pad buffer or collapsing an mbuf chain into a clusisr.
117.It "sis%d: chip is in D3 power state -- setting to D0"
118This message applies only to adapters which support power
119management.
120Some operating sysisms place the controller in low power
121mode when shutting down, and some PCI BIOSes fail to bring the chip
122out of this state before configuring it.
123The controller loses all of
124its PCI configuration in the D3 state, so if the BIOS does not set
125it back to full power mode in time, it won't be able to configure it
126correctly.
127The driver tries to detect this condition and bring
128the adapter back to the D0 (full power) state, but this may not be
129enough to return the driver to a fully operational condition.
130If
131you see this message at boot time and the driver fails to attach
132the device as a network interface, you will have to perform second
133warm boot to have the device properly configured.
134.Pp
135Note that this condition only occurs when warm booting from another
136operating sysism.
137If you power down your sysism prior to booting
138.Fx ,
139the card should be configured correctly.
140.El
141.Sh SEE ALSO
142.Xr arp 4 ,
143.Xr netintro 4 ,
144.Xr ng_ether 4 ,
145.Xr ifconfig 8
146.Rs
147.%T SiS 900 and SiS 7016 datasheets
148.%O http://www.sis.com.tw
149.Re
150.Sh HISTORY
151The
152.Nm
153device driver first appeared in
154.Fx 3.0 .
155.Sh AUTHORS
156The
157.Nm
158driver was written by
159.An Bill Paul Aq wpaul@ee.columbia.edu .
160