NP(4) | Kernel Interfaces Manual (VAX) | NP(4) |
The np device provides access to an Interlan Np100 Ethernet interface for control functions.
This interface is unusual in that it requires loading firmware into the controller before it may be used as a network link-level interface. This is accomplished by opening a character special device, and writing data to it. It is also possible to do post-mortem debugging of firmware failures by reading the local memory of the device.
Multiple control processes are allowed by opening separate minor devices; secondary interfaces are specified by shifting the interface number by 4 bits.
The device also responds to commands passed through the driver by the following ioctl(2)s:
0x400
).
NP100 Unit %d timed out! NP100 Unit %d Failed diagnostics! Status from CSR0: %x.
There are 110 other diagnostic messages that can be enabled by setting bits in a debugging mask. Consult the driver for details.
June 5, 1993 | NetBSD 6.1 |