NP(4) | Device Drivers Manual (vax) | NP(4) |
np
— Interlan
Np100 10 Mb/s Ethernet interface
np0 at uba0 csr 166000 vector npintr
NOTE: This driver has not been ported from 4.4BSD yet.
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:
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.
The np
driver appeared in
4.3BSD.
February 17, 2017 | NetBSD 10.99 |