1.\" $OpenBSD: puc.4,v 1.48 2014/06/21 07:33:02 jmc Exp $ 2.\" $NetBSD: puc.4,v 1.7 1999/07/03 05:55:23 cgd Exp $ 3.\" 4.\" Copyright (c) 1998 Christopher G. Demetriou. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by Christopher G. Demetriou 17.\" for the NetBSD Project. 18.\" 4. The name of the author may not be used to endorse or promote products 19.\" derived from this software without specific prior written permission 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31.\" 32.Dd $Mdocdate: June 21 2014 $ 33.Dt PUC 4 34.Os 35.Sh NAME 36.Nm puc 37.Nd PCI 38.Dq universal 39communications card driver 40.Sh SYNOPSIS 41.Cd "puc* at pci?" 42.Cd "puc* at cardbus?" 43.Cd "lpt* at puc?" 44.Cd "com* at puc?" 45.Sh DESCRIPTION 46The 47.Nm 48driver provides support for PCI communications cards containing 49simple communications ports, such as NS16550-family 50.Pf ( Nm com ) 51serial ports and standard PC-like 52.Pf ( Nm lpt ) 53parallel ports. 54The driver is called 55.Dq universal 56because the interfaces to these devices aren't nearly as well 57defined and standard as they should be. 58.Pp 59The driver currently supports the following cards: 60.Pp 61.Bl -tag -width Ds -offset indent -compact 62.It Tn "AT&T/Lucent Venus Modem (found on IBM 33L4618, Actiontec 56K)" 63.It Tn "Avlab Low Profile PCI 4S Quartet (4 port serial)" 64.It Tn "Avlab PCI 2S (2 port serial)" 65.It Tn "Boca Research Turbo Serial 654 (4 port serial)" 66.It Tn "Boca Research Turbo Serial 658 (8 port serial)" 67.It Tn "Brainboxes Instashield IS-200 with BB16PCI958 (2 port serial)" 68.It Tn "Cronyx Omega-PCI (8 port serial)" 69.It Tn "Decision Computer Inc PCCOM PCI 2 Port (2 port serial)" 70.It Tn "Decision Computer Inc PCCOM PCI 4 Port (4 port serial)" 71.It Tn "Decision Computer Inc PCCOM PCI 8 Port (8 port serial)" 72.It Tn "Digi International Digi Neo 4 (4 port serial)" 73.It Tn "Digi International Digi Neo 8 (8 port serial)" 74.It Tn "Dolphin Peripherals 4014 (dual parallel)" 75.It Tn "Dolphin Peripherals 4035 (dual serial)" 76.It Tn "Exsys EX-41098 (4 port serial)" 77.It Tn "IBM 4810 SurePOS 300 Series SCC (4 port serial)" 78.It Tn "Koutech IOFLEX-2S (dual serial)" 79.It Tn "Kouwell Model-223 (2 port serial, 1 port parallel)" 80.It Tn "Lava Computers 2SP-PCI (parallel port)" 81.It Tn "Lava Computers 2SP-PCI and Quattro-PCI (dual serial)" 82.It Tn "Lava Computers Octopus-550" 83.It Tn "Lava LavaPort-650" 84.It Tn "MosChip MCS9865 (1, 2 and 4 port serial)" 85.It Tn "Moxa Technologies Co., Ltd. PCI I/O Card 4S (4 port serial)" 86.It Tn "Moxa Technologies Co., Ltd. C104H/PCI (4 port serial)" 87.It Tn "Moxa Technologies Co., Ltd. CP104/PCI (4 port serial)" 88.It Tn "Moxa Technologies Co., Ltd. C168H/PCI (8 port serial)" 89.It Tn "NEC PK-UG-X008 (serial)" 90.It Tn "NEC PK-UG-X001 K56flex PCI (modem)" 91.It Tn "NetMos 1P (1 port parallel)" 92.It Tn "NetMos 2S1P (2 port serial and 1 port parallel)" 93.It Tn "NetMos 2S (2 port serial)" 94.It Tn "NetMos 4S (4 port serial)" 95.It Tn "NetMos 6S (6 port serial)" 96.It Tn "Oxford OX16PCI952 (2 port serial, 1 port parallel)" 97.It Tn "Oxford OX16PCI954 (4 port serial, 1 port parallel)" 98.It Tn "PLX 9016 (8 port serial)" 99.It Tn "SIIG Cyber 2P1S PCI (dual parallel and single serial)" 100.It Tn "SIIG Cyber 2S1P PCI (dual serial and single parallel)" 101.It Tn "SIIG Cyber 4S PCI (quad serial)" 102.It Tn "SIIG Cyber I/O PCI (single serial and single parallel)" 103.It Tn "SIIG Cyber Parallel Dual PCI (dual parallel)" 104.It Tn "SIIG Cyber Parallel PCI (single parallel)" 105.It Tn "SIIG Cyber Serial Dual PCI (dual serial)" 106.It Tn "SIIG Cyber Serial PCI (single serial)" 107.It Tn "SIIG Cyber 8S PCI 16C850" 108.It Tn "SUNIX 400x (1 port parallel)" 109.It Tn "SUNIX 401x (2 port parallel)" 110.It Tn "SUNIX 402x (1 port serial)" 111.It Tn "SUNIX 403x (2 port serial)" 112.It Tn "SUNIX 405x (4 port serial)" 113.It Tn "SUNIX 406x (8 port serial)" 114.It Tn "SUNIX 407x (2 port serial and 1 port parallel)" 115.It Tn "SUNIX 408x (2 port serial and 2 port parallel)" 116.It Tn "SUNIX 409x (4 port serial and 2 port parallel)" 117.It Tn "SUNIX 5008 (1 port parallel)" 118.It Tn "SUNIX 5016 (16 port serial)" 119.It Tn "SUNIX 5027 (1 port serial)" 120.It Tn "SUNIX 5037 (2 port serial)" 121.It Tn "SUNIX 5056 (4 port serial)" 122.It Tn "SUNIX 5066 (8 port serial)" 123.It Tn "SUNIX 5069 (1 port serial and 1 port parallel)" 124.It Tn "SUNIX 5079 (2 port serial and 1 port parallel)" 125.It Tn "SUNIX 5099 (4 port serial and 1 port parallel)" 126.It Tn "Syba Tech Ltd. PCI-4S2P-550-ECP (4 port serial and 2 port parallel)" 127.It Tn "US Robotics 3CP5609 PCI (modem)" 128.It Tn "VScom PCI 800 (8 port serial, probably OEM)" 129.It Tn "VScom PCI 011H (1 port parallel)" 130.It Tn "VScom PCI 100H (1 port serial)" 131.It Tn "VScom PCI 110H (1 port serial and 1 port parallel)" 132.It Tn "VScom PCI 200H (2 port serial)" 133.It Tn "VScom PCI 210H (2 port serial and 1 port parallel)" 134.It Tn "VScom PCI 400H (4 port serial)" 135.It Tn "VScom PCI 410H (4 port serial and 1 port parallel)" 136.It Tn "VScom PCI 800H (8 port serial)" 137.It Tn "VScom PCI 100L (1 port serial)" 138.It Tn "VScom PCI 200L (2 port serial)" 139.It Tn "VScom PCI 210L (2 port serial and 1 port parallel)" 140.It Tn "VScom PCI 400L (4 port serial)" 141.It Tn "VScom PCI 400S (4 port serial)" 142.It Tn "VScom PCI 800L (8 port serial)" 143.El 144.Pp 145The driver does not support these cards: 146.Pp 147.Bl -tag -width Ds -offset indent -compact 148.It Tn "Dolphin Peripherals 4006 (single parallel)" 149.It Tn "Dolphin Peripherals 4025 (single serial)" 150.It Tn "Dolphin Peripherals 4078 (dual serial and single parallel)" 151.El 152.Pp 153but support for them (and for similar cards) should be trivial to add. 154.Pp 155The 156.Ar port 157locator is used to identify the port (starting from 0) on the 158communications card that a subdevice is supposed to attach to. 159Typically, the numbering of ports is explained in a card's 160hardware documentation, and the port numbers used by the driver 161are the same as (or one off from, e.g., the manual uses ports 162numbered starting from 1) those described in the documentation. 163.Sh SEE ALSO 164.Xr cardbus 4 , 165.Xr com 4 , 166.Xr intro 4 , 167.Xr lpt 4 , 168.Xr pci 4 169.Sh HISTORY 170The 171.Nm 172driver first appeared in 173.Nx 1.4 . 174.Ox 175support was added in 176.Ox 2.7 . 177CardBus support was added in 178.Ox 4.0 . 179.Sh AUTHORS 180The 181.Nm 182driver was written by Chris Demetriou. 183.Sh BUGS 184The current design of this driver keeps any 185.Nm com 186ports on these cards from easily being used as console. 187Of course, because boards with those are PCI boards, they also suffer 188from dynamic address assignment, which also means that they 189can't easily be used as console. 190.Pp 191Some of the cards supported by this driver have jumper-selectable 192.Nm com 193port clock multipliers, which are unsupported by this driver. 194Those can be easily accommodated with driver flags, or by 195using a properly scaled baud rate when talking to the card. 196.Pp 197Some of the cards supported by this driver, e.g., the VScom PCI-800, 198have software-selectable 199.Nm com 200port clock multipliers, which are unsupported by this driver. 201Those can be accommodated using internal driver flags, or by using 202a properly scaled baud rate when talking to the card. 203.Pp 204Some ports use an 205.Nm lpt 206driver other than the machine-independent driver. 207Those ports will not be able to use 208.Nm lpt 209ports attached to 210.Nm 211devices. 212