PUC(4)

NAME
puc - PCI universal communications card driver

SYNOPSIS
puc* at pci?
puc* at cardbus?
lpt* at puc?
com* at puc?

DESCRIPTION
The puc driver provides support for PCI communications cards containing simple communications ports, such as NS16550-family (com) serial ports and standard PC-like (lpt) parallel ports. The driver is called “universal” because the interfaces to these devices aren't nearly as well defined and standard as they should be.

The driver currently supports the following cards:

AT&T/Lucent Venus Modem (found on IBM 33L4618, Actiontec 56K)
Avlab Low Profile PCI 4S Quartet (4 port serial)
Avlab PCI 2S (2 port serial)
Boca Research Turbo Serial 654 (4 port serial)
Boca Research Turbo Serial 658 (8 port serial)
Brainboxes Instashield IS-200 with BB16PCI958 (2 port serial)
Cronyx Omega-PCI (8 port serial)
Decision Computer Inc PCCOM PCI 2 Port (2 port serial)
Decision Computer Inc PCCOM PCI 4 Port (4 port serial)
Decision Computer Inc PCCOM PCI 8 Port (8 port serial)
Digi International Digi Neo 4 (4 port serial)
Digi International Digi Neo 8 (8 port serial)
Dolphin Peripherals 4014 (dual parallel)
Dolphin Peripherals 4035 (dual serial)
Exsys EX-41098 (4 port serial)
IBM 4810 SurePOS 300 Series SCC (4 port serial)
Koutech IOFLEX-2S (dual serial)
Kouwell Model-223 (2 port serial, 1 port parallel)
Lava Computers 2SP-PCI (parallel port)
Lava Computers 2SP-PCI and Quattro-PCI (dual serial)
Lava Computers Octopus-550
Lava LavaPort-650
MosChip MCS9865 (1, 2 and 4 port serial)
Moxa Technologies Co., Ltd. PCI I/O Card 4S (4 port serial)
Moxa Technologies Co., Ltd. C104H/PCI (4 port serial)
Moxa Technologies Co., Ltd. CP104/PCI (4 port serial)
Moxa Technologies Co., Ltd. C168H/PCI (8 port serial)
Moxa Technologies Co., Ltd. CP168U/PCI (8 port serial)
NEC PK-UG-X008 (serial)
NEC PK-UG-X001 K56flex PCI (modem)
NetMos 1P (1 port parallel)
NetMos 2S1P (2 port serial and 1 port parallel)
NetMos 2S (2 port serial)
NetMos 4S (4 port serial)
NetMos 6S (6 port serial)
Oxford OX16PCI952 (2 port serial, 1 port parallel)
Oxford OX16PCI954 (4 port serial, 1 port parallel)
PLX 9016 (8 port serial)
QEMU PCI Serial
QEMU PCI Serial 2x
QEMU PCI Serial 4x
SIIG Cyber 2P1S PCI (dual parallel and single serial)
SIIG Cyber 2S1P PCI (dual serial and single parallel)
SIIG Cyber 4S PCI (quad serial)
SIIG Cyber I/O PCI (single serial and single parallel)
SIIG Cyber Parallel Dual PCI (dual parallel)
SIIG Cyber Parallel PCI (single parallel)
SIIG Cyber Serial Dual PCI (dual serial)
SIIG Cyber Serial PCI (single serial)
SIIG Cyber 8S PCI 16C850
SUNIX 400x (1 port parallel)
SUNIX 401x (2 port parallel)
SUNIX 402x (1 port serial)
SUNIX 403x (2 port serial)
SUNIX 405x (4 port serial)
SUNIX 406x (8 port serial)
SUNIX 407x (2 port serial and 1 port parallel)
SUNIX 408x (2 port serial and 2 port parallel)
SUNIX 409x (4 port serial and 2 port parallel)
SUNIX 5008 (1 port parallel)
SUNIX 5016 (16 port serial)
SUNIX 5027 (1 port serial)
SUNIX 5037 (2 port serial)
SUNIX 5056 (4 port serial)
SUNIX 5066 (8 port serial)
SUNIX 5069 (1 port serial and 1 port parallel)
SUNIX 5079 (2 port serial and 1 port parallel)
SUNIX 5099 (4 port serial and 1 port parallel)
Syba Tech Ltd. PCI-4S2P-550-ECP (4 port serial and 2 port parallel)
US Robotics 3CP5609 PCI (modem)
VScom PCI 800  (8 port serial, probably OEM)
VScom PCI 011H (1 port parallel)
VScom PCI 100H (1 port serial)
VScom PCI 110H (1 port serial and 1 port parallel)
VScom PCI 200H (2 port serial)
VScom PCI 210H (2 port serial and 1 port parallel)
VScom PCI 400H (4 port serial)
VScom PCI 410H (4 port serial and 1 port parallel)
VScom PCI 800H (8 port serial)
VScom PCI 100L (1 port serial)
VScom PCI 200L (2 port serial)
VScom PCI 210L (2 port serial and 1 port parallel)
VScom PCI 400L (4 port serial)
VScom PCI 400S (4 port serial)
VScom PCI 800L (8 port serial)

The driver does not support these cards:

Dolphin Peripherals 4006 (single parallel)
Dolphin Peripherals 4025 (single serial)
Dolphin Peripherals 4078 (dual serial and single parallel)

but support for them (and for similar cards) should be trivial to add.

The port locator is used to identify the port (starting from 0) on the communications card that a subdevice is supposed to attach to. Typically, the numbering of ports is explained in a card's hardware documentation, and the port numbers used by the driver are the same as (or one off from, e.g., the manual uses ports numbered starting from 1) those described in the documentation.

SEE ALSO
cardbus(4), com(4), intro(4), lpt(4), pci(4)

HISTORY
The puc driver first appeared in NetBSD 1.4. OpenBSD support was added in OpenBSD 2.7. CardBus support was added in OpenBSD 4.0.

AUTHORS
The puc driver was written by Chris Demetriou.

BUGS
The current design of this driver keeps any com ports on these cards from easily being used as console. Of course, because boards with those are PCI boards, they also suffer from dynamic address assignment, which also means that they can't easily be used as console.

Some of the cards supported by this driver have jumper-selectable com port clock multipliers, which are unsupported by this driver. Those can be easily accommodated with driver flags, or by using a properly scaled baud rate when talking to the card.

Some of the cards supported by this driver, e.g., the VScom PCI-800, have software-selectable com port clock multipliers, which are unsupported by this driver. Those can be accommodated using internal driver flags, or by using a properly scaled baud rate when talking to the card.

Some ports use an lpt driver other than the machine-independent driver. Those ports will not be able to use lpt ports attached to puc devices.