1.\" $NetBSD: ex.4,v 1.4 1997/10/19 12:59:52 mrg Exp $ 2.\" 3.\" Copyright (c) 1986, 1991, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by the University of 17.\" California, Berkeley and its contributors. 18.\" 4. Neither the name of the University nor the names of its contributors 19.\" may be used to endorse or promote products derived from this software 20.\" without specific prior written permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32.\" SUCH DAMAGE. 33.\" 34.\" from: @(#)ex.4 8.1 (Berkeley) 6/5/93 35.\" 36.Dd June 5, 1993 37.Dt EX 4 vax 38.Os BSD 4.2 39.Sh NAME 40.Nm ex 41.Nd Excelan 10 Mb/s Ethernet interface 42.Sh SYNOPSIS 43.Cd "device ex0 at uba0 csr 164000 vector excdint" 44.Sh DESCRIPTION 45The 46.Nm ex 47interface provides access to a 10 Mb/s Ethernet network through 48an Excelan controller used as a link-layer interface. 49.Pp 50Each of the host's network addresses 51is specified at boot time with an 52.Dv SIOCSIFADDR 53.Xr ioctl 2 . 54The 55.Nm ex 56interface employs the address resolution protocol described in 57.Xr arp 4 58to dynamically map between Internet and Ethernet addresses on the local 59network. 60.Pp 61The interface normally tries to use a 62.Dq trailer 63encapsulation 64to minimize copying data on input and output. 65The use of trailers is negotiated with 66.Tn ARP . 67This negotiation may be disabled, on a per-interface basis, 68by setting the 69.Dv IFF_NOTRAILERS 70flag with an 71.Dv SIOCSIFFLAGS 72.Xr ioctl . 73.Sh DIAGNOSTICS 74.Bl -diag 75.It "ex%d: HW %c.%c, NX %c.%c, hardware address %s." 76This provides firmware revisions levels, and is expected during 77autoconfiguration. 78.Pp 79.It ex%d: can't initialize. 80There was a failure in allocating unibus resources for the device. 81.Pp 82.It "ex%d: configuration failed; cc = %x." 83The hardware indicated an error when trying to initalize itself. 84The error code returned is described at length in the device 85Reference Manual. 86.Pp 87.It ex%d: receive error %b. 88The hardware indicated an error 89in reading a packet from the cable. 90Specific Error bits are provided 91.Pp 92.It ex%d: transmit error %b. 93The hardware indicated an error 94in transmitting a packet to the cable or an illegally sized packet. 95Specific Error bits are provided 96.Pp 97.It ex%d: can't handle af%d. 98The interface was handed 99a message with addresses formatted in an unsuitable address 100family; the packet was dropped. 101.El 102.Sh SEE ALSO 103.Xr netintro 4 , 104.Xr inet 4 , 105.Xr arp 4 106.Sh HISTORY 107The 108.Nm 109driver appeared in 110.Bx 4.3 . 111