xref: /netbsd-src/share/man/man4/man4.vax/ix.4 (revision 091e15265dbe2bb314cd3f15830a81f296d03f40)
1.\"	$NetBSD: ix.4,v 1.21 2019/02/05 06:17:00 msaitoh 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 February 5, 2019
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<board #> 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.Sh DIAGNOSTICS
74.Bl -diag
75.It "ix%d: Req failed, cmd %x, stat %x, ust error %x,%x."
76The firmware in the controller refused to honor a request from
77.Ux
78in initializing packet level communications.
79The board may need to be reset and reloaded.
80Or, you may not have allowed enough time between loading the board
81and issuing the request to begin
82.Ux
83network operation.
84.It ix%d: can't initialize.
85The interface was unable to obtain UNIBUS resources required for operation.
86.It ix%d: failed to reinitialize DLA module.
87The interface got sick after attempting to reprogram its physical
88Ethernet address.
89Try reloading the firmware.
90The attempt is made only when this interfaces is not the first
91one configured for
92.Tn XNS .
93.It ix%d: can't handle af%d.
94The interface was handed
95a message with addresses formatted in an unsuitable address
96family; the packet was dropped.
97.It ix%d: stray xmit interrupt, npreq=%x.
98This may happen if the board is reloaded while network processes are still
99running.
100.It ixrint: cqe error %x, %x, %x.
101This will result if an
102.Xr ifconfig 8
103request is made at an inopportune time, such as not allowing
104enough time after loading the firmware.
105After 100 such errors are logged, the
106.Ux
107network driver will
108shut itself down, saying:
109.It ixrint: shutting down unix dla.
110The recourse is to reload the firmware and allow more time.
111.El
112.Sh SEE ALSO
113.Xr arp 4 ,
114.Xr inet 4 ,
115.Xr netintro 4 ,
116.Xr vax/np 4
117.Sh HISTORY
118The
119.Nm
120driver appeared in
121.Bx 4.3 .
122