1.\" 2.\" Copyright (c) 2008 3.\" The DragonFly Project. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 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 13.\" the documentation and/or other materials provided with the 14.\" distribution. 15.\" 3. Neither the name of The DragonFly Project nor the names of its 16.\" contributors may be used to endorse or promote products derived 17.\" from this software without specific, prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 22.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 23.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 25.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 26.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 27.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 29.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.Dd February 28, 2008 33.Dt SLN 4 34.Os 35.Sh NAME 36.Nm sln 37.Nd Silan SC92031 10/100 Ethernet device 38.Sh SYNOPSIS 39To compile this driver into the kernel, 40place the following lines in your 41kernel configuration file: 42.Bd -ragged -offset indent 43.Cd "device sln" 44.Ed 45.Pp 46Alternatively, to load the driver as a 47module at boot time, place the following line in 48.Xr loader.conf 5 : 49.Bd -literal -offset indent 50if_sln_load="YES" 51.Ed 52.Sh DESCRIPTION 53The 54.Nm 55driver provides support for Ethernet adapters based on Silan's SC92031 chip. 56.Pp 57The 58.Nm 59driver supports the following 60.Cm media 61types: 62.Pp 63.Bl -tag -width ".Ar 10baseT/UTP" -compact 64.It Ar autoselect 65Enable autoselection of the media types and options. 66.Pp 67.It Ar 10baseT/UTP 68Set 10Mbps operation. 69The 70.Cm mediaopt 71option can also be used to select either 72.Ar full-duplex 73or 74.Ar half-duplex 75modes. 76.Pp 77.It Ar 100baseTX 78Set 100Mbps (Fast Ethernet) operation. 79The 80.Cm mediaopt 81option can also be used to select either 82.Ar full-duplex 83or 84.Ar half-duplex 85modes. 86.El 87.Pp 88The 89.Nm 90driver supports the following 91.Cm media 92options: 93.Pp 94.Bl -tag -width full-duplex -compact 95.It Cm full-duplex 96Force full duplex operation. 97.Pp 98.It Cm half-duplex 99Force half duplex operation. 100.El 101.Pp 102For more information on configuring this device, see 103.Xr ifconfig 8 . 104.Sh HARDWARE 105The following cards are among those supported by the 106.Nm 107driver: 108.Pp 109.Bl -bullet -compact 110.It 111Noganet KN-8139D 112.El 113.Sh SEE ALSO 114.Xr arp 4 , 115.Xr ifmedia 4 , 116.Xr pci 4 , 117.Xr ifconfig 8 118.Sh HISTORY 119The 120.Nm 121driver first appeared in 122.Dx 1.13 123as a port of a 124.Fx 4.7 125driver provided by Silan. 126.Sh AUTHORS 127.An -nosplit 128The 129.Nm 130driver was originally written by 131.An gaoyonghong 132and ported to 133.Dx 134by 135.An Sascha Wildner . 136