Manual browser: puc(4)

Section:
Page:
PUC(4) Kernel Interfaces Manual PUC(4)

NAME

pucPCI “universal” communications card driver

SYNOPSIS

puc* at pci? dev ? function ?
com* at puc? port ?
lpt* at puc? port ?

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:

ADDI-DATA APCI-7800 (8 port serial)
Actiontec 56K PCI Master
Advantech PCI-1604UP (2 port serial)
Advantech PCI-1610 (4 port serial)
Advantech PCI-1612 (4 port serial)
Advantech PCI-1620 (8 port serial)
Avlab Low Profile PCI 4S Quartet (4 port serial)
Avlab Low Profile PCI 4 Serial (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)
Chase Research / Perle PCI-FAST4 (4 port serial)
Chase Research / Perle PCI-FAST8 (8 port serial)
Comtrol RocketPort 550/4 series (4 port serial)
Comtrol RocketPort 550/8 series (8 port serial)
Comtrol RocketPort 550/16 series (16 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)
Dolphin Peripherals 4036 (dual serial)
EXAR XR17D152 (2 port serial)
EXAR XR17D154 (4 port serial)
EXAR XR17D158 (8 port serial)
Exsys EX-41098 (4 port serial)
IBM 4810 SurePOS 300 Series SCC (4 port serial)
InnoSys Keyspan SX Pro (4 port serial)
Intel chipset internal Serial over LAN
I-O DATA RSA-PCI (2 port serial)
I-O DATA RSA-PCI2 (2 port serial)
I-O DATA RSA-PCI2/P4 (4 port serial)
I-O DATA RSA-PCI2/P8 (8 port serial)
Lava Computers 2SP-PCI (single parallel)
Lava Computers Octopus (8 port serial)
Lava Computers Quatro-PCI (4 port serial)
Lava Computers dual serial
Lava Computers SSERIAL-PCI (single serial)
Middle Digital, Inc. Weasel serial port
Moxa Technologies SmartIO C104H/PCI (4 port serial)
Moxa Technologies SmartIO C168EL-A/PCIe (8 port serial)
Moxa Technologies SmartIO C168EL/PCIe (8 port serial)
Moxa Technologies SmartIO C168H/PCI (8 port serial)
Moxa Technologies SmartIO C168U/PCI (8 port serial)
Moxa Technologies SmartIO CP-114/PCI (4 port serial)
Moxa Technologies SmartIO CP-102/PCI (2 port serial)
Moxa Technologies SmartIO CP-104-EL/PCIe (4 port serial)
Moxa Technologies SmartIO CP-104-V2/PCI (4 port serial)
Moxa Technologies SmartIO CP-104/PCI (4 port serial)
Multi-Tech ISI5634PCI/4 (4 port serial)
NEC PK-UG-X001 K56flex PCI Modem
NEC PK-UG-X008
NetMos 1P PCI (single parallel)
NetMos 2S1P PCI 16C650 (dual serial and single parallel)
NetMos 4S1P PCI NM9845 (4 port serial and single parallel)
NetMos NM9805 1284 (single parallel)
NetMos NM9815 Dual 1284 (dual parallel)
NetMos NM9835 series (up to dual serial and single parallel)
NetMos NM9845 series (up to 6 serial and 1 parallel)
NetMos NM9865 series (up to 4 serial and 2 parallel)
NetMos NM9901 PCIe (1 serial or 1 parallel)
NetMos NM9904 PCIe (4 port serial)
NetMos NM9922 PCIe (2 port serial)
Oxford Semiconductor OX16PCI952 (dual serial and single parallel)
Oxford Semiconductor OX16PCI954 (4 port serial)
Oxford Semiconductor OX16PCI958 (8 port serial)
Oxford Semiconductor OXPCIe952 (2 port serial, legacy mode)
Oxford Semiconductor OXmPCI952 (2 port serial)
Perle Systems PCI-RAS 4 modem ports
Perle Systems PCI-RAS 8 modem ports
Perle Systems PCI-RASV92 4 modem ports
Perle Systems PCI-RASV92 8 modem ports
SIIG Cyber 2P1S PCI series (dual parallel and single serial)
SIIG Cyber 2S1P PCI series (dual serial and single parallel)
SIIG Cyber 4 PCI 16550 (4 port serial)
SIIG Cyber 4S PCI series (quad serial)
SIIG Cyber I/O PCI series (single serial and single parallel)
SIIG Cyber Parallel Dual PCI series (dual parallel)
SIIG Cyber Parallel PCI series (single parallel)
SIIG Cyber Serial Dual PCI series (dual serial)
SIIG Cyber Serial PCI series (single serial)
SIIG PS8000 PCI 8S series (8 port serial)
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 (8 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-4S
Syba Tech Ltd. PCI-4S2P-550-ECP
SystemBase SB16C1054PCI (4 port serial)
SystemBase SB16C1058PCI (8 port serial)
US Robotics (3Com) 3CP5609 PCI 16550 Modem
VScom PCI-010HV2 (1 port parallel)
VScom PCI-010L (1 port parallel)
VScom PCI-011H (1 port parallel)
VScom PCI-100H (1 port serial)
VScom PCI-100L (1 port serial)
VScom PCI-110L (1 port serial and 1 port parallel)
VScom PCI-200 (dual serial)
VScom PCI-200H (dual serial)
VScom PCI-200HV2 (dual serial)
VScom PCI-200L (dual serial)
VScom PCI-200Li (dual serial)
VScom PCI-210L (2 port serial and 1 port parallel)
VScom PCI-400 (4 port serial)
VScom PCI-400L (4 port serial)
VScom PCI-800 (8 port serial)
VScom PCI-800H (8 port serial)
VScom PCI-800L (8 port serial)

The driver does not support the 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

com(4), lpt(4), pci(4)

HISTORY

The puc driver appeared in NetBSD 1.4.

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.

October 26, 2012 NetBSD 7.0