1.\" $NetBSD: sm.4,v 1.10 2001/12/18 13:33:18 ad 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.\" 3. All advertising materials mentioning features or use of this software 19.\" must display the following acknowledgement: 20.\" This product includes software developed by the NetBSD 21.\" Foundation, Inc. and its contributors. 22.\" 4. Neither the name of The NetBSD Foundation nor the names of its 23.\" contributors may be used to endorse or promote products derived 24.\" from this software without specific prior written permission. 25.\" 26.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 28.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 30.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36.\" POSSIBILITY OF SUCH DAMAGE. 37.\" 38.Dd November 10, 1997 39.Dt SM 4 40.Os 41.Sh NAME 42.Nm sm 43.Nd SMC91Cxx-based Ethernet interfaces device driver 44.Sh SYNOPSIS 45.Cd "sm0 at isa? port 0x300 irq 10" 46.Cd "sm* at mhzc?" 47.Cd "sm* at pcmcia? function ?" 48.Cd "sm* at nubus?" 49.Sh DESCRIPTION 50The 51.Nm 52device driver supports SMC91C9x-based and SMC91C1xx-based Ethernet interfaces. 53.Pp 54The ISA attachment of the 55.Nm 56driver supports any SMC91C9x-based Ethernet interface on the ISA 57bus, including the EFA Info*Express SVC VLB interface, and the 58on-board SMC91C9x Ethernet found in many embedded PCs and laptop 59docking stations. 60.Pp 61The mhzc attachment of the 62.Nm 63driver supports the Megahertz combo Ethernet and modem card. 64.Pp 65The PCMCIA attachment of the 66.Nm 67driver supports Megahertz X-JACK Ethernet cards. 68.Pp 69The nubus attachment of the 70.Nm 71driver supports SMC-based Ethernet cards for the macintosh. 72.Sh MEDIA SELECTION 73The SMC91C1xx supports the MII interface and so the list of supported 74media depends on several factors, including which PHY is attached. The 75SMC91C9x supports AUI and UTP media types. 76.Pp 77To enable the AUI media, select the 78.Em 10base5 79or 80.Em aui 81media type with 82.Xr ifconfig 8 Ns s 83.Sq media 84directive. To select UTP, select the 85.Em 10baseT 86or 87.Em utp 88media type. 89.Pp 90.Xr ifconfig 8 Ns s 91.Sq -m 92option will display the full list of supported 93.Sq media 94directives for a particular configuration. 95.Sh DIAGNOSTICS 96.Bl -diag 97.It "sm0: unable to read MAC address from CIS" 98This indicates that the Ethernet address, which is stored in the 99CIS information on the Megahertz X-JACK PCMCIA Ethernet card, is 100corrupted. 101.El 102.Sh SEE ALSO 103.Xr ifmedia 4 , 104.Xr intro 4 , 105.Xr isa 4 , 106.Xr mhzc 4 , 107.Xr mii 4 , 108.Xr pcmcia 4 , 109.Xr ifconfig 8 110