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.\" $DragonFly: src/share/man/man4/sln.4,v 1.1 2008/02/28 18:39:20 swildner Exp $ 33.\" 34.Dd February 28, 2008 35.Dt SLN 4 36.Os 37.Sh NAME 38.Nm sln 39.Nd Silan SC92031 10/100 Ethernet device 40.Sh SYNOPSIS 41To compile this driver into the kernel, 42place the following lines in your 43kernel configuration file: 44.Bd -ragged -offset indent 45.Cd "device sln" 46.Ed 47.Pp 48Alternatively, to load the driver as a 49module at boot time, place the following line in 50.Xr loader.conf 5 : 51.Bd -literal -offset indent 52if_sln_load="YES" 53.Ed 54.Sh DESCRIPTION 55The 56.Nm 57driver provides support for Ethernet adapters based on Silan's SC92031 chip. 58.Pp 59The 60.Nm 61driver supports the following 62.Cm media 63types: 64.Pp 65.Bl -tag -width ".Ar 10baseT/UTP" -compact 66.It Ar autoselect 67Enable autoselection of the media types and options. 68.Pp 69.It Ar 10baseT/UTP 70Set 10Mbps operation. 71The 72.Cm mediaopt 73option can also be used to select either 74.Ar full-duplex 75or 76.Ar half-duplex 77modes. 78.Pp 79.It Ar 100baseTX 80Set 100Mbps (Fast Ethernet) operation. 81The 82.Cm 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 93.Cm media 94options: 95.Pp 96.Bl -tag -width full-duplex -compact 97.It Cm full-duplex 98Force full duplex operation. 99.Pp 100.It Cm half-duplex 101Force half duplex operation. 102.El 103.Pp 104For more information on configuring this device, see 105.Xr ifconfig 8 . 106.Sh HARDWARE 107The following cards are among those supported by the 108.Nm 109driver: 110.Pp 111.Bl -bullet -compact 112.It 113Noganet KN-8139D 114.El 115.Sh SEE ALSO 116.Xr arp 4 , 117.\".Xr ifmedia 4 , 118.Xr pci 4 , 119.Xr ifconfig 8 120.Sh HISTORY 121The 122.Nm 123driver first appeared in 124.Dx 1.13 125as a port of a 126.Fx 4.7 127driver provided by Silan. 128.Sh AUTHORS 129.An -nosplit 130The 131.Nm 132driver was originally written by 133.An gaoyonghong 134and ported to 135.Dx 136by 137.An Sascha Wildner . 138