1.\" $OpenBSD: ec.4,v 1.10 2001/06/22 12:15:44 mpech 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.\" 3. All advertising materials mentioning features or use of this software 20.\" must display the following acknowledgement: 21.\" This product includes software developed by the NetBSD 22.\" Foundation, Inc. and its contributors. 23.\" 4. Neither the name of The NetBSD Foundation nor the names of its 24.\" contributors may be used to endorse or promote products derived 25.\" from this software without specific prior written permission. 26.\" 27.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 28.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 29.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 30.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 31.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 32.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 33.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 34.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 35.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 36.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 37.\" POSSIBILITY OF SUCH DAMAGE. 38.\" 39.Dd September 22, 1998 40.Dt EC 4 41.Os 42.Sh NAME 43.Nm ec 44.Nd 3Com EtherLink II Ethernet (3c503) driver 45.Sh SYNOPSIS 46.Cd "ec0 at isa? port 0x250 iomem 0xd8000 irq 9" 47.Sh DESCRIPTION 48The 49.Nm 50device driver supports 3Com EtherLink II (3C503) Ethernet cards. 51Other models of 3Com network cards are supported by the 52.Xr ef 4 , 53.Xr eg 4 , 54.Xr el 4 , 55.Xr ep 4 , 56.Xr ie 4 , 57and 58.Xr xl 4 59drivers. 60.Pp 61The Etherlink II supports two media types on a single card. All support 62the AUI media type. The other media is either BNC or UTP behind a 63transceiver. Software cannot differentiate between BNC and UTP cards. 64.Pp 65The following media types and options (as given to 66.Xr ifconfig 8 ) 67are supported: 68.Pp 69.Bl -tag -width xxx -offset indent 70.It Cm media No 10base5 71Set 10base5 (thick-net) operation. 72.It Cm media No 10base2 73Set BNC (10base2/thin-net) or UTP operation. 74.El 75.Pp 76For more information on configuring this device, see 77.Xr ifconfig 8 . 78To view a list of media types and options supported by your card try 79.Dq ifconfig -m <device> . 80For example, 81.Dq ifconfig -m ec0 . 82.Sh DIAGNOSTICS 83.Bl -diag 84.It "ec0: wildcarded IRQ is not allowed" 85The IRQ was wildcarded in the kernel configuration file. This is not 86supported. 87.It "ec0: invalid IRQ <n>, must be 3, 4, 5, or 9" 88An IRQ other than the above listed IRQs was specified in the kernel 89configuration file. The Etherlink II hardware only supports the 90above listed IRQs. 91.It "ec0: failed to clear shared memory at offset <off>" 92The memory test was unable to clear the interface's shared memory 93region. This often indicates that the card is configured at a conflicting 94.Em iomem 95address. 96.El 97.Sh SEE ALSO 98.Xr ef 4 , 99.Xr eg 4 , 100.Xr el 4 , 101.Xr ep 4 , 102.Xr ie 4 , 103.Xr ifmedia 4 , 104.Xr xl 4 , 105.Xr ifconfig 8 106