|
|
1.1 root 1: .\" Copyright (c) 1986 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)np.4 6.5 (Berkeley) 6/23/90
19: .\"
20: .TH NP 4 "June 23, 1990"
21: .UC 5
22: .SH NAME
23: np \- Interlan Np100 10 Mb/s Ethernet interface
24: .SH SYNOPSIS
25: .B "device np0 at uba0 csr 166000 vector npintr"
26: .SH DESCRIPTION
27: The
28: .I NP
29: device provides access to an Interlan Np100 Ethernet interface
30: for control functions.
31: .PP
32: This interface is unusual in that it requires loading firmware
33: into the controller before it may be used as a network link-level interface.
34: This is accomplished by opening a character special device,
35: and writing data to it.
36: It is also possible to do post-mortem debugging of firmware failures
37: by reading the local memory of the device.
38: .PP
39: A program to load the image is provided in /usr/src/new/np100.
40: The sequence of commands would be:
41: .nf
42:
43: # ./npload np.image [/dev/np00]
44: # sleep 10
45: # ifconfig ix0 ...
46: .fi
47: .PP
48: Multiple control processes are allowed by opening separate
49: minor devices; secondary interfaces are specified by shifting
50: the interface number by 4 bits.
51: .PP
52: The device also responds to commands passed through the driver
53: by the following ioctls:
54: .TP
55: NPRESET
56: .br
57: kills off all active network processes.
58: .TP
59: NPSTART
60: .br
61: begins execution of the board at the specified address (usually 0x400).
62: .TP
63: NPNETBOOT
64: .br
65: downloads the image from a server on the network.
66: [Contact MICOM-INTERLAN for details.]
67: .SH DIAGNOSTICS
68: \fBnp%d: Bad Maintenance command: %x!\fP.
69: An invalid ioctl was passed to the np driver.
70: .PP
71: \fBnp%d: Panic NP100 bad buffer chain\fP.
72: An error occurred in an read or write operation causing it to
73: run out of buffers before it finished the operation.
74: This indicates a kernel failure rather than a device failure.
75: .PP
76: \fBNP100 unit %d not found!\fP.
77: A failure occurred during initialization, such that the unibus
78: address expected for the board was found to be bad.
79: Probably indicates hardware problems with the board, as do the following:
80: \fB
81: .nf
82:
83: NP100 Unit %d timed out!
84:
85: NP100 Unit %d Failed diagnostics!
86: Status from CSR0: %x.\fP
87: .fi
88: .PP
89: \fBPanic from NP100 unit %d!\\nPanic Message: %s\fP.
90: An occurrence on the board was deemed serious enough
91: to have the vax print it out.
92: .PP
93: \fBNP100 unit #%d available!\fP.
94: The board was successfully loaded and started.
95: .PP
96: \fBnp%d: Bad Req: %x.\fP.
97: The board made a maintenance request to the vax that it did not
98: understand.
99: .PP
100: \fBnp%d: No more room on Command Queue!\fP.
101: The np driver allowed an internal resource to be exhausted.
102: This should never happen.
103: .PP
104: There are 110 other diagnostic messages that can be enabled
105: by setting bits in a debugging mask.
106: Consult the driver for details.
107: .SH SEE ALSO
108: netintro(4), inet(4), arp(4), ix(4)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.