1.\" $NetBSD: sm.4,v 1.15 2017/09/06 17:11:41 wiz 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 September 6, 2017 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 ifpga0 addr 0xb8000000 irq 27" 39.Cd "sm0 at isa? port 0x300 irq 10" 40.Cd "sm* at mhzc?" 41.Cd "sm* at pcmcia? function ?" 42.Cd "sm* at nubus?" 43.Sh DESCRIPTION 44The 45.Nm 46device driver supports SMC91C9x-based and SMC91C1xx-based Ethernet interfaces. 47.Pp 48The ifpga0 attachment of the 49.Nm 50driver supports SMC91C9x-based Ethernet interface on the ARM Integrator/CP 51board. 52.Pp 53The ISA attachment of the 54.Nm 55driver supports any SMC91C9x-based Ethernet interface on the ISA 56bus, including the EFA Info*Express SVC VLB interface, and the 57on-board SMC91C9x Ethernet found in many embedded PCs and laptop 58docking stations. 59.Pp 60The mhzc attachment of the 61.Nm 62driver supports the Megahertz combo Ethernet and modem card. 63.Pp 64The PCMCIA attachment of the 65.Nm 66driver supports Megahertz X-JACK Ethernet cards. 67.Pp 68The nubus attachment of the 69.Nm 70driver supports SMC-based Ethernet cards for the macintosh. 71.Sh MEDIA SELECTION 72The SMC91C1xx supports the MII interface and so the list of supported 73media depends on several factors, including which PHY is attached. 74The SMC91C9x supports AUI and UTP media types. 75.Pp 76To enable the AUI media, select the 77.Em 10base5 78or 79.Em aui 80media type with 81.Xr ifconfig 8 Ns 's 82.Cm media 83directive. 84To select UTP, select the 85.Em 10baseT 86or 87.Em utp 88media type. 89.Pp 90.Xr ifconfig 8 Ns 's 91.Fl m 92option will display the full list of supported 93.Cm 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