spif(4)

spif4

Sbus (spiffy) serial/parallel interface

Usage

spif* at sbus? stty* at spif? sbpp* at spif?

Overview

The spif driver provides support for the Sun Serial/Parallel Interface card (Sun part number 501-1931) based around 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.

Files

/dev/tty[jkl][0-7]

Serial ports

/dev/sbpp[0-3]

Parallel ports

Diagnostics

spif0: ccr timeout

A timeout occurred while writing to one of the CD180 registers.

stty0-N: ring overflow

Incoming characters were discarded because the application in control of the device did not read the input fast enough.

Todo

The parallel port is not supported yet.

Dial-out (cua) devices are not yet supported.

History

The spif driver was first supported in OpenBSD 3.1.

Authors

The driver was written by Jason Wright ⟨[email protected]⟩, and is heavily based on the magma(4) driver written by Iain Hibbert ⟨[email protected]⟩.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.