1.\" $OpenBSD: sis.4,v 1.35 2022/02/18 10:24:32 jsg Exp $ 2.\" 3.\" Copyright (c) 1997, 1998, 1999 4.\" Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 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. 14.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by Bill Paul. 17.\" 4. Neither the name of the author nor the names of any co-contributors 18.\" may be used to endorse or promote products derived from this software 19.\" without specific prior written permission. 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD 25.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 31.\" THE POSSIBILITY OF SUCH DAMAGE. 32.\" 33.\" $FreeBSD: src/share/man/man4/sis.4,v 1.2 1999/11/15 23:14:27 phantom Exp $ 34.\" 35.Dd $Mdocdate: February 18 2022 $ 36.Dt SIS 4 37.Os 38.Sh NAME 39.Nm sis 40.Nd SiS 900, SiS 7016, and NS DP83815/6 10/100 Ethernet device 41.Sh SYNOPSIS 42.Cd "sis* at pci?" 43.Cd "icsphy* at mii?" 44.Cd "nsphyter* at mii?" 45.Cd "rlphy* at mii?" 46.Sh DESCRIPTION 47The 48.Nm 49driver provides support for PCI Ethernet adapters and embedded 50controllers based on the Silicon Integrated Systems SiS 900 / 51SiS 7016 Fast Ethernet controller chips, and National 52Semiconductor DP83815 (MacPHYTER) / DP83816 (MacPHYTER-II) PCI 53Ethernet controller chips, including the following: 54.Pp 55.Bl -bullet -compact 56.It 57@Nifty FNECHARD IFC USUP-TX 58.It 59MELCO LGY-PCI-TXC 60.It 61Netgear FA311, FA312, FA331 62.It 63Soekris Engineering lan1621, lan1641 64.El 65.Pp 66The SiS 900 is a 100Mbps Ethernet MAC and MII-compliant transceiver 67in a single package. 68It uses a bus master DMA and a scatter/gather descriptor scheme. 69The SiS 7016 is similar to the SiS 900 except that it has no internal PHY, 70requiring instead an external transceiver to be attached to its MII interface. 71The SiS 900 and SiS 7016 both have a 128-bit multicast hash filter 72and a single perfect filter entry for the station address. 73.Pp 74The NS DP83815 and DP83816 are also 100Mbps Ethernet MACs 75with integrated PHY. 76The NatSemi chips and the SiS chips share many of the same features and 77a fairly similar programming interface, and hence are supported 78by the same driver. 79.Pp 80The 81.Nm 82driver supports the following media types: 83.Bl -tag -width full-duplex 84.It autoselect 85Enable autoselection of the media type and options. 86The user can manually override 87the autoselected mode by adding media options to the 88.Xr hostname.if 5 89file. 90.It 10baseT 91Set 10Mbps operation. 92The 93.Ar mediaopt 94option can also be used to select either 95.Ar full-duplex 96or 97.Ar half-duplex 98modes. 99.It 100baseTX 100Set 100Mbps (Fast Ethernet) operation. 101The 102.Ar mediaopt 103option can also be used to select either 104.Ar full-duplex 105or 106.Ar half-duplex 107modes. 108.El 109.Pp 110The 111.Nm 112driver supports the following media options: 113.Bl -tag -width full-duplex 114.It full-duplex 115Force full duplex operation. 116.It half-duplex 117Force half duplex operation. 118.El 119.Pp 120For more information on configuring this device, see 121.Xr ifconfig 8 . 122.Sh DIAGNOSTICS 123.Bl -diag 124.It "sis0: couldn't map ports/memory" 125A fatal initialization error has occurred. 126.It "sis0: couldn't map interrupt" 127A fatal initialization error has occurred. 128.It "sis0: watchdog timeout" 129The device has stopped responding to the network, or there is a problem with 130the network connection (cable). 131.It "sis0: no memory for rx list" 132The driver failed to allocate an mbuf for the receiver ring. 133.It "sis0: no memory for tx list" 134The driver failed to allocate an mbuf for the transmitter ring when 135allocating a pad buffer or collapsing an mbuf chain into a cluster. 136.El 137.Sh SEE ALSO 138.Xr arp 4 , 139.Xr icsphy 4 , 140.Xr ifmedia 4 , 141.Xr intro 4 , 142.Xr netintro 4 , 143.Xr nsphyter 4 , 144.Xr pci 4 , 145.Xr rlphy 4 , 146.Xr hostname.if 5 , 147.Xr ifconfig 8 148.Rs 149.%T SiS 900 and SiS 7016 datasheets 150.%U https://www.sis.com 151.Re 152.Rs 153.%T NatSemi DP83815 and DP83816 datasheets 154.Re 155.Sh HISTORY 156The 157.Nm 158device driver first appeared in 159.Fx 3.0 . 160.Ox 161support was added in 162.Ox 2.7 . 163.Sh AUTHORS 164.An -nosplit 165The 166.Nm 167driver was written by 168.An Bill Paul Aq Mt wpaul@ee.columbia.edu 169and ported to 170.Ox 171by 172.An Aaron Campbell Aq Mt aaron@openbsd.org . 173