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