1.\" $NetBSD: ix.4,v 1.15 2003/08/07 10:31:13 agc 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. Neither the name of the University nor the names of its contributors 15.\" may be used to endorse or promote products derived from this software 16.\" without specific prior written permission. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)ix.4 8.1 (Berkeley) 6/5/93 31.\" 32.Dd June 5, 1993 33.Dt IX 4 vax 34.Os 35.Sh NAME 36.Nm ix 37.Nd Interlan Np100 10 Mb/s Ethernet interface 38.Sh SYNOPSIS 39.Cd "np0 at uba0 csr 166000 vector npintr" 40.Sh DESCRIPTION 41NOTE: This driver has not been ported from 42.Bx 4.4 43yet. 44.Pp 45The 46.Nm ix 47interface provides access to a 10 Mb/s Ethernet network through 48an Interlan Np100 controller used as a link-layer interface. 49.Pp 50This interface is unusual in that it requires loading firmware 51into the controller before it may be used as a network interface. 52This is accomplished by opening a character special device, 53and writing data to it. 54A program to load the image is provided in 55.Pa /usr/src/new/np100 . 56The sequence of commands would be: 57.Bd -literal -offset indent 58# ./npload np.image [/dev/np\*[Lt]board #\*[Gt] if other than np00] 59# sleep 10 60# ifconfig ix0 ... 61.Ed 62.Pp 63Each of the host's network addresses 64is specified at boot time with an 65.Dv SIOCSIFADDR 66.Xr ioctl 2 . 67The 68.Nm ix 69interface employs the address resolution protocol described in 70.Xr arp 4 71to dynamically map between Internet and Ethernet addresses on the local 72network. 73.Pp 74The interface normally tries to use a 75.Dq trailer 76encapsulation 77to minimize copying data on input and output. 78The use of trailers is negotiated with 79.Tn ARP . 80This negotiation may be disabled, on a per-interface basis, 81by setting the 82.Dv IFF_NOTRAILERS 83flag with an 84.Dv SIOCSIFFLAGS 85.Xr ioctl 2 . 86.Sh DIAGNOSTICS 87.Bl -diag 88.It "ix%d: Req failed, cmd %x, stat %x, ust error %x,%x." 89The firmware in the controller refused to honor a request from 90.Ux 91in initializing packet level communications. 92The board may need to be reset and reloaded. 93Or, you may not have allowed enough time between loading the board 94and issuing the request to begin 95.Ux 96network operation. 97.Pp 98.It ix%d: can't initialize. 99The interface was unable to obtain UNIBUS resources required for operation. 100.Pp 101.It ix%d: failed to reinitialize DLA module. 102The interface got sick after attempting to reprogram its physical 103Ethernet address. Try reloading the firmware. 104The attempt is made only when this interfaces is not the first 105one configured for 106.Tn XNS . 107.Pp 108.It ix%d: can't handle af%d. 109The interface was handed 110a message with addresses formatted in an unsuitable address 111family; the packet was dropped. 112.Pp 113.It ix%d: stray xmit interrupt, npreq=%x. 114This may happen if the board is reloaded while network processes are still 115running. 116.Pp 117.It ixrint: cqe error %x, %x, %x. 118This will result if an 119.Xr ifconfig 8 120request is made at an inopportune time, such as not allowing 121enough time after loading the firmware. 122After 100 such errors are logged, the 123.Ux 124network driver will 125shut itself down, saying: 126.Pp 127.It ixrint: shutting down unix dla. 128The recourse is to reload the firmware and allow more time. 129.El 130.Sh SEE ALSO 131.Xr arp 4 , 132.Xr inet 4 , 133.Xr netintro 4 , 134.Xr np 4 135.Sh HISTORY 136The 137.Nm 138driver appeared in 139.Bx 4.3 . 140