1.\" $NetBSD: sm.4,v 1.12 2008/04/30 13:10:54 martin Exp $ 2.\" 3.\" Copyright (c) 1997 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, 8.\" NASA Ames Research Center. 9.\" 10.\" Redistribution and use in source and binary forms, with or without 11.\" modification, are permitted provided that the following conditions 12.\" are met: 13.\" 1. Redistributions of source code must retain the above copyright 14.\" notice, this list of conditions and the following disclaimer. 15.\" 2. Redistributions in binary form must reproduce the above copyright 16.\" notice, this list of conditions and the following disclaimer in the 17.\" documentation and/or other materials provided with the distribution. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 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 THE 29.\" POSSIBILITY OF SUCH DAMAGE. 30.\" 31.Dd November 10, 1997 32.Dt SM 4 33.Os 34.Sh NAME 35.Nm sm 36.Nd SMC91Cxx-based Ethernet interfaces device driver 37.Sh SYNOPSIS 38.Cd "sm0 at isa? port 0x300 irq 10" 39.Cd "sm* at mhzc?" 40.Cd "sm* at pcmcia? function ?" 41.Cd "sm* at nubus?" 42.Sh DESCRIPTION 43The 44.Nm 45device driver supports SMC91C9x-based and SMC91C1xx-based Ethernet interfaces. 46.Pp 47The ISA attachment of the 48.Nm 49driver supports any SMC91C9x-based Ethernet interface on the ISA 50bus, including the EFA Info*Express SVC VLB interface, and the 51on-board SMC91C9x Ethernet found in many embedded PCs and laptop 52docking stations. 53.Pp 54The mhzc attachment of the 55.Nm 56driver supports the Megahertz combo Ethernet and modem card. 57.Pp 58The PCMCIA attachment of the 59.Nm 60driver supports Megahertz X-JACK Ethernet cards. 61.Pp 62The nubus attachment of the 63.Nm 64driver supports SMC-based Ethernet cards for the macintosh. 65.Sh MEDIA SELECTION 66The SMC91C1xx supports the MII interface and so the list of supported 67media depends on several factors, including which PHY is attached. The 68SMC91C9x supports AUI and UTP media types. 69.Pp 70To enable the AUI media, select the 71.Em 10base5 72or 73.Em aui 74media type with 75.Xr ifconfig 8 Ns 's 76.Cm media 77directive. To select UTP, select the 78.Em 10baseT 79or 80.Em utp 81media type. 82.Pp 83.Xr ifconfig 8 Ns 's 84.Fl m 85option will display the full list of supported 86.Cm media 87directives for a particular configuration. 88.Sh DIAGNOSTICS 89.Bl -diag 90.It "sm0: unable to read MAC address from CIS" 91This indicates that the Ethernet address, which is stored in the 92CIS information on the Megahertz X-JACK PCMCIA Ethernet card, is 93corrupted. 94.El 95.Sh SEE ALSO 96.Xr ifmedia 4 , 97.Xr intro 4 , 98.Xr isa 4 , 99.Xr mhzc 4 , 100.Xr mii 4 , 101.Xr pcmcia 4 , 102.Xr ifconfig 8 103