1.\" $NetBSD: ix.4,v 1.13 2002/02/13 08:18:07 ross 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: @(#)ix.4 8.1 (Berkeley) 6/5/93 35.\" 36.Dd June 5, 1993 37.Dt IX 4 vax 38.Os 39.Sh NAME 40.Nm ix 41.Nd Interlan Np100 10 Mb/s Ethernet interface 42.Sh SYNOPSIS 43.Cd "np0 at uba0 csr 166000 vector npintr" 44.Sh DESCRIPTION 45NOTE: This driver has not been ported from 46.Bx 4.4 47yet. 48.Pp 49The 50.Nm ix 51interface provides access to a 10 Mb/s Ethernet network through 52an Interlan Np100 controller used as a link-layer interface. 53.Pp 54This interface is unusual in that it requires loading firmware 55into the controller before it may be used as a network interface. 56This is accomplished by opening a character special device, 57and writing data to it. 58A program to load the image is provided in 59.Pa /usr/src/new/np100 . 60The sequence of commands would be: 61.Bd -literal -offset indent 62# ./npload np.image [/dev/np\*[Lt]board #\*[Gt] if other than np00] 63# sleep 10 64# ifconfig ix0 ... 65.Ed 66.Pp 67Each of the host's network addresses 68is specified at boot time with an 69.Dv SIOCSIFADDR 70.Xr ioctl 2 . 71The 72.Nm ix 73interface employs the address resolution protocol described in 74.Xr arp 4 75to dynamically map between Internet and Ethernet addresses on the local 76network. 77.Pp 78The interface normally tries to use a 79.Dq trailer 80encapsulation 81to minimize copying data on input and output. 82The use of trailers is negotiated with 83.Tn ARP . 84This negotiation may be disabled, on a per-interface basis, 85by setting the 86.Dv IFF_NOTRAILERS 87flag with an 88.Dv SIOCSIFFLAGS 89.Xr ioctl 2 . 90.Sh DIAGNOSTICS 91.Bl -diag 92.It "ix%d: Req failed, cmd %x, stat %x, ust error %x,%x." 93The firmware in the controller refused to honor a request from 94.Ux 95in initializing packet level communications. 96The board may need to be reset and reloaded. 97Or, you may not have allowed enough time between loading the board 98and issuing the request to begin 99.Ux 100network operation. 101.Pp 102.It ix%d: can't initialize. 103The interface was unable to obtain unibus resources required for operation. 104.Pp 105.It ix%d: failed to reinitialize DLA module. 106The interface got sick after attempting to reprogram its physical 107Ethernet address. Try reloading the firmware. 108The attempt is made only when this interfaces is not the first 109one configured for 110.Tn XNS . 111.Pp 112.It ix%d: can't handle af%d. 113The interface was handed 114a message with addresses formatted in an unsuitable address 115family; the packet was dropped. 116.Pp 117.It ix%d: stray xmit interrupt, npreq=%x. 118This may happen if the board is reloaded while network processes are still 119running. 120.Pp 121.It ixrint: cqe error %x, %x, %x. 122This will result if an 123.Xr ifconfig 8 124request is made at an inopportune time, such as not allowing 125enough time after loading the firmware. 126After 100 such errors are logged, the 127.Ux 128network driver will 129shut itself down, saying: 130.Pp 131.It ixrint: shutting down unix dla. 132The recourse is to reload the firmware and allow more time. 133.El 134.Sh SEE ALSO 135.Xr arp 4 , 136.Xr inet 4 , 137.Xr netintro 4 , 138.Xr np 4 139.Sh HISTORY 140The 141.Nm 142driver appeared in 143.Bx 4.3 . 144