xref: /openbsd-src/share/man/man4/sm.4 (revision ff667e47366dc47a3968ac7b2f8a4a0f06c856f0)
1.\"	$OpenBSD: sm.4,v 1.19 2012/06/20 19:37:15 jmc 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 20 2012 $
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 "nsphy* at mii?"
42.Sh DESCRIPTION
43The
44.Nm
45device driver supports SMC91C9x 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 PCMCIA attachment of the
55.Nm
56driver supports Megahertz X-JACK Ethernet cards, NewMedia BASICS Ethernet
57cards, and SMC EtherEZ 8020 series cards.
58.Sh MEDIA SELECTION
59The SMC91C1xx supports the following media types:
60.Bl -tag -width full-duplex
61.It autoselect
62Enable autoselection of the media type and options.
63The user can manually override the autoselected mode by adding media options
64to the appropriate
65.Xr hostname.if 5
66file.
67.It 10baseT
68Set 10Mbps operation.
69The
70.Ar mediaopt
71option can also be used to select either
72.Ar full-duplex
73or
74.Ar half-duplex
75modes.
76.It 100baseTX
77Set 100Mbps (Fast Ethernet) operation.
78The
79.Ar mediaopt
80option can also be used to select either
81.Ar full-duplex
82or
83.Ar half-duplex
84modes.
85.El
86.Pp
87The SMC91C9x supports AUI and UTP media types:
88.Pp
89To enable the AUI media, select the
90.Em 10base5
91or
92.Em aui
93media type with
94.Xr ifconfig 8 Ns 's
95.Sq media
96directive.
97To select UTP, select the
98.Em 10baseT
99or
100.Em utp
101media type.
102.Pp
103For more information on configuring this device, see
104.Xr ifconfig 8 .
105.Sh DIAGNOSTICS
106.Bl -diag
107.It "sm0: unable to read MAC address from CIS"
108This indicates that the Ethernet address, which is stored in the
109CIS information on the Megahertz X-JACK PCMCIA Ethernet card, is
110corrupted.
111.El
112.Sh SEE ALSO
113.Xr arp 4 ,
114.Xr ifmedia 4 ,
115.Xr intro 4 ,
116.Xr isa 4 ,
117.Xr netintro 4 ,
118.Xr nsphy 4 ,
119.Xr pcmcia 4 ,
120.Xr hostname.if 5 ,
121.Xr ifconfig 8
122