1.\" $NetBSD: il.4,v 1.4 1997/10/19 13:00:40 mrg Exp $ 2.\" 3.\" Copyright (c) 1983, 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: @(#)il.4 8.1 (Berkeley) 6/5/93 35.\" 36.Dd June 5, 1993 37.Dt IL 4 vax 38.Os BSD 4.2 39.Sh NAME 40.Nm il 41.Nd Interlan NI1010 10 Mb/s Ethernet interface 42.Sh SYNOPSIS 43.Cd "device il0 at uba0 csr 164000 vector ilrint ilcint" 44.Sh DESCRIPTION 45The 46.Nm il 47interface provides access to a 10 Mb/s Ethernet network through 48an Interlan 1010 or 1010A controller. 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 il 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 ``trailer'' encapsulation 62to minimize copying data on input and output. 63The use of trailers is negotiated with 64.Tn ARP . 65This negotiation may be disabled, on a per-interface basis, 66by setting the 67.Dv IFF_NOTRAILERS 68flag with an 69.Dv SIOCSIFFLAGS 70.Xr ioctl . 71.Sh DIAGNOSTICS 72.Bl -diag 73.It il%d: input error. 74The hardware indicated an error 75in reading a packet off the cable or an illegally sized packet. 76.Pp 77.It il%d: can't handle af%d. 78The interface was handed 79a message with addresses formatted in an unsuitable address 80family; the packet was dropped. 81.Pp 82.It il%d: setaddr didn't work. 83The interface was unable to reprogram 84its physical ethernet address. 85This may happen with very early models of the interface. 86This facility is used only when 87the controller is not the first network interface configured for 88.Tn XNS . 89The oldest interface tested (2.7.1.0.1.45) has never failed in this way. 90.Pp 91.It il%d: reset failed, csr=%b. 92.It il%d: status failed, csr=%b. 93.It il%d: hardware diag failed, csr=%b. 94.It il%d: verifying setaddr, csr=%b. 95.It il%d: stray xmit interrupt, csr=%b. 96.It il%d: can't initialize. 97The above messages indicate a probable hardware error performing 98the indicated operation during autoconfiguration or initialization. 99The status field in the control and status register (the low-order four bits) 100should indicate the nature of the failure. 101See the hardware manual for details. 102.El 103.Sh SEE ALSO 104.Xr netintro 4 , 105.Xr inet 4 , 106.Xr arp 4 107.Sh HISTORY 108The 109.Nm 110interface appeared in 111.Bx 4.2 . 112