| SPIF(4) | Device Drivers Manual | SPIF(4) |
spif — SBus
(spiffy) Serial/Parallel Interface
spif* at sbus? slot ? offset ?
(sun4c/sun4m/sun4u)
stty* at spif? (sun4c/sun4m/sun4u)
sbpp* at spif? (sun4c/sun4m/sun4u)
The spif driver provides support for the
Sun Serial/Parallel Interface card (Sun part number 501-1931), which is
based on the Cirrus Logic CD180 octal serial controller and the Cirrus Logic
PPC2 parallel port controller.
The device minor numbers for this driver are encoded as follows:
+---+---+---+---+---+---+---+---+
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+---+---+---+---+---+---+---+---+
| | | | | | | |
| | | | | +---+---+---> port number
| | | | |
| | | | +---------------> unused
| | | |
| | | +-------------------> dial-out (on tty ports)
| | |
| | +-----------------------> unused
| |
+---+---------------------------> card number
Up to four cards are supported in the system.
Each of the serial ports has an 8 byte FIFO for receive and transmit as well as automatic hardware (RTS/CTS) flow control.
The spif adapter was first supported in
OpenBSD 2.5. The driver was ported to
NetBSD 3.0.
The driver was written by Jason Wright <jason@thought.net>, and is heavily based on the magma(4) driver written by Iain Hibbert.
The parallel port is not supported yet.
Dial-out (cua) devices are not yet supported.
| February 4, 1999 | NetBSD 11.0 |