1.\" $OpenBSD: sm.4,v 1.17 2008/06/26 05:42:07 ray Exp $ 2.\" $NetBSD: sm.4,v 1.3 1998/08/09 00:39:02 thorpej Exp $ 3.\" 4.\" Copyright (c) 1997 The NetBSD Foundation, Inc. 5.\" All rights reserved. 6.\" 7.\" This code is derived from software contributed to The NetBSD Foundation 8.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 9.\" NASA Ames Research Center. 10.\" 11.\" Redistribution and use in source and binary forms, with or without 12.\" modification, are permitted provided that the following conditions 13.\" are met: 14.\" 1. Redistributions of source code must retain the above copyright 15.\" notice, this list of conditions and the following disclaimer. 16.\" 2. Redistributions in binary form must reproduce the above copyright 17.\" notice, this list of conditions and the following disclaimer in the 18.\" documentation and/or other materials provided with the distribution. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 21.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 24.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30.\" POSSIBILITY OF SUCH DAMAGE. 31.\" 32.Dd $Mdocdate: June 26 2008 $ 33.Dt SM 4 34.Os 35.Sh NAME 36.Nm sm 37.Nd SMC91C9x and SMC91C1xx-based 10/100 Ethernet device 38.Sh SYNOPSIS 39.Cd "sm0 at isa? port 0x300 irq 10" 40.Cd "sm* at pcmcia?" 41.Cd "sm* at nubus?" 42.Cd "nsphy* at mii?" 43.Sh DESCRIPTION 44The 45.Nm 46device driver supports SMC91C9x and SMC91C1xx-based Ethernet interfaces. 47.Pp 48The ISA attachment of the 49.Nm 50driver supports any SMC91C9x-based Ethernet interface on the ISA 51bus, including the EFA Info*Express SVC VLB interface, and the 52on-board SMC91C9x Ethernet found in many embedded PCs and laptop 53docking stations. 54.Pp 55The PCMCIA attachment of the 56.Nm 57driver supports Megahertz X-JACK Ethernet cards, NewMedia BASICS Ethernet 58cards, and SMC EtherEZ 8020 series cards. 59.Pp 60The NuBus attachment of the 61.Nm 62driver supports SMC-based Ethernet cards for mac68k. 63.Sh MEDIA SELECTION 64The SMC91C1xx supports the following media types: 65.Bl -tag -width full-duplex 66.It autoselect 67Enable autoselection of the media type and options. 68The user can manually override the autoselected mode by adding media options 69to the appropriate 70.Xr hostname.if 5 71file. 72.It 10baseT 73Set 10Mbps operation. 74The 75.Ar mediaopt 76option can also be used to select either 77.Ar full-duplex 78or 79.Ar half-duplex 80modes. 81.It 100baseTX 82Set 100Mbps (Fast Ethernet) operation. 83The 84.Ar mediaopt 85option can also be used to select either 86.Ar full-duplex 87or 88.Ar half-duplex 89modes. 90.El 91.Pp 92The SMC91C9x supports AUI and UTP media types: 93.Pp 94To enable the AUI media, select the 95.Em 10base5 96or 97.Em aui 98media type with 99.Xr ifconfig 8 's 100.Sq media 101directive. 102To select UTP, select the 103.Em 10baseT 104or 105.Em utp 106media type. 107.Pp 108For more information on configuring this device, see 109.Xr ifconfig 8 . 110.Sh DIAGNOSTICS 111.Bl -diag 112.It "sm0: unable to read MAC address from CIS" 113This indicates that the Ethernet address, which is stored in the 114CIS information on the Megahertz X-JACK PCMCIA Ethernet card, is 115corrupted. 116.El 117.Sh SEE ALSO 118.Xr arp 4 , 119.Xr ifmedia 4 , 120.Xr intro 4 , 121.Xr isa 4 , 122.Xr netintro 4 , 123.Xr nsphy 4 , 124.Xr nubus 4 , 125.Xr pcmcia 4 , 126.Xr hostname.if 5 , 127.Xr ifconfig 8 128