xref: /openbsd-src/share/man/man4/ec.4 (revision 57a2c668c3d974299bbf2993b8d50ebcbac84639)
1.\"	$OpenBSD: ec.4,v 1.20 2008/09/07 06:55:34 jmc Exp $
2.\"     $NetBSD: ec.4,v 1.4 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: September 7 2008 $
33.Dt EC 4
34.Os
35.Sh NAME
36.Nm ec
37.Nd 3Com EtherLink II (3c503) Ethernet device
38.Sh SYNOPSIS
39.Cd "ec0 at isa? port 0x250 iomem 0xd8000 irq 9"
40.Sh DESCRIPTION
41The
42.Nm
43device driver supports 3Com EtherLink II (3C503) Ethernet cards.
44.Pp
45The EtherLink II supports two media types on a single card.
46All support the AUI media type.
47The other media is either BNC or UTP behind a transceiver.
48Software cannot differentiate between BNC and UTP cards.
49.Pp
50The
51.Nm
52driver supports the following media types:
53.Bl -tag -width 10baseX -offset indent
54.It 10base5
55Set 10base5 (thick-net) operation.
56.It 10base2
57Set BNC (10base2/thin-net) or UTP operation.
58.El
59.Pp
60For more information on configuring this device, see
61.Xr ifconfig 8 .
62To view a list of media types and options supported by your card try
63.Dq ifconfig <device> media .
64For example,
65.Dq ifconfig ec0 media .
66.Sh DIAGNOSTICS
67.Bl -diag
68.It "ec0: wildcarded IRQ is not allowed"
69The IRQ was wildcarded in the kernel configuration file.
70This is not supported.
71.It "ec0: invalid IRQ <n>, must be 3, 4, 5, or 9"
72An IRQ other than the above listed IRQs was specified in the kernel
73configuration file.
74The EtherLink II hardware only supports the above listed IRQs.
75.It "ec0: failed to clear shared memory at offset <off>"
76The memory test was unable to clear the interface's shared memory
77region.
78This often indicates that the card is configured at a conflicting
79.Em iomem
80address.
81.El
82.Sh SEE ALSO
83.Xr ifmedia 4 ,
84.Xr intro 4 ,
85.Xr isa 4 ,
86.Xr hostname.if 5 ,
87.Xr ifconfig 8
88