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