1.\" $OpenBSD: puc.4,v 1.46 2012/01/14 13:30:24 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: January 14 2012 $ 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 "Cronyx Omega-PCI (8 port serial)" 68.It Tn "Decision Computer Inc PCCOM PCI 2 Port (2 port serial)" 69.It Tn "Decision Computer Inc PCCOM PCI 4 Port (4 port serial)" 70.It Tn "Decision Computer Inc PCCOM PCI 8 Port (8 port serial)" 71.It Tn "Digi International Digi Neo 4 (4 port serial)" 72.It Tn "Digi International Digi Neo 8 (8 port serial)" 73.It Tn "Dolphin Peripherals 4014 (dual parallel)" 74.It Tn "Dolphin Peripherals 4035 (dual serial)" 75.It Tn "Exsys EX-41098 (4 port serial)" 76.It Tn "IBM 4810 SurePOS 300 Series SCC (4 port serial)" 77.It Tn "Koutech IOFLEX-2S (dual serial)" 78.It Tn "Kouwell Model-223 (2 port serial, 1 port parallel)" 79.It Tn "Lava Computers 2SP-PCI (parallel port)" 80.It Tn "Lava Computers 2SP-PCI and Quattro-PCI (dual serial)" 81.It Tn "Lava Computers Octopus-550" 82.It Tn "Lava LavaPort-650" 83.It Tn "MosChip MCS9865 (1, 2 and 4 port serial)" 84.It Tn "Moxa Technologies Co., Ltd. PCI I/O Card 4S (4 port serial)" 85.It Tn "Moxa Technologies Co., Ltd. C104H/PCI (4 port serial)" 86.It Tn "Moxa Technologies Co., Ltd. CP104/PCI (4 port serial)" 87.It Tn "NEC PK-UG-X008 (serial)" 88.It Tn "NEC PK-UG-X001 K56flex PCI (modem)" 89.It Tn "NetMos 1P (1 port parallel)" 90.It Tn "NetMos 2S1P (2 port serial and 1 port parallel)" 91.It Tn "NetMos 2S (2 port serial)" 92.It Tn "NetMos 4S (4 port serial)" 93.It Tn "NetMos 6S (6 port serial)" 94.It Tn "Oxford OX16PCI952 (2 port serial, 1 port parallel)" 95.It Tn "Oxford OX16PCI954 (4 port serial, 1 port parallel)" 96.It Tn "PLX 9016 (8 port serial)" 97.It Tn "SIIG Cyber 2P1S PCI (dual parallel and single serial)" 98.It Tn "SIIG Cyber 2S1P PCI (dual serial and single parallel)" 99.It Tn "SIIG Cyber 4S PCI (quad serial)" 100.It Tn "SIIG Cyber I/O PCI (single serial and single parallel)" 101.It Tn "SIIG Cyber Parallel Dual PCI (dual parallel)" 102.It Tn "SIIG Cyber Parallel PCI (single parallel)" 103.It Tn "SIIG Cyber Serial Dual PCI (dual serial)" 104.It Tn "SIIG Cyber Serial PCI (single serial)" 105.It Tn "SIIG Cyber 8S PCI 16C850" 106.It Tn "SUNIX 400x (1 port parallel)" 107.It Tn "SUNIX 401x (2 port parallel)" 108.It Tn "SUNIX 402x (1 port serial)" 109.It Tn "SUNIX 403x (2 port serial)" 110.It Tn "SUNIX 405x (4 port serial)" 111.It Tn "SUNIX 406x (8 port serial)" 112.It Tn "SUNIX 407x (2 port serial and 1 port parallel)" 113.It Tn "SUNIX 408x (2 port serial and 2 port parallel)" 114.It Tn "SUNIX 409x (4 port serial and 2 port parallel)" 115.It Tn "SUNIX 5008 (1 port parallel)" 116.It Tn "SUNIX 5016 (16 port serial)" 117.It Tn "SUNIX 5027 (1 port serial)" 118.It Tn "SUNIX 5037 (2 port serial)" 119.It Tn "SUNIX 5056 (4 port serial)" 120.It Tn "SUNIX 5066 (8 port serial)" 121.It Tn "SUNIX 5069 (1 port serial and 1 port parallel)" 122.It Tn "SUNIX 5079 (2 port serial and 1 port parallel)" 123.It Tn "SUNIX 5099 (4 port serial and 1 port parallel)" 124.It Tn "Syba Tech Ltd. PCI-4S2P-550-ECP (4 port serial and 2 port parallel)" 125.It Tn "US Robotics 3CP5609 PCI (modem)" 126.It Tn "VScom PCI 800 (8 port serial, probably OEM)" 127.It Tn "VScom PCI 011H (1 port parallel)" 128.It Tn "VScom PCI 100H (1 port serial)" 129.It Tn "VScom PCI 110H (1 port serial and 1 port parallel)" 130.It Tn "VScom PCI 200H (2 port serial)" 131.It Tn "VScom PCI 210H (2 port serial and 1 port parallel)" 132.It Tn "VScom PCI 400H (4 port serial)" 133.It Tn "VScom PCI 410H (4 port serial and 1 port parallel)" 134.It Tn "VScom PCI 800H (8 port serial)" 135.It Tn "VScom PCI 100L (1 port serial)" 136.It Tn "VScom PCI 200L (2 port serial)" 137.It Tn "VScom PCI 210L (2 port serial and 1 port parallel)" 138.It Tn "VScom PCI 400L (4 port serial)" 139.It Tn "VScom PCI 400S (4 port serial)" 140.It Tn "VScom PCI 800L (8 port serial)" 141.El 142.Pp 143The driver does not support these cards: 144.Pp 145.Bl -tag -width Ds -offset indent -compact 146.It Tn "Dolphin Peripherals 4006 (single parallel)" 147.It Tn "Dolphin Peripherals 4025 (single serial)" 148.It Tn "Dolphin Peripherals 4078 (dual serial and single parallel)" 149.El 150.Pp 151but support for them (and for similar cards) should be trivial to add. 152.Pp 153The 154.Ar port 155locator is used to identify the port (starting from 0) on the 156communications card that a subdevice is supposed to attach to. 157Typically, the numbering of ports is explained in a card's 158hardware documentation, and the port numbers used by the driver 159are the same as (or one off from, e.g., the manual uses ports 160numbered starting from 1) those described in the documentation. 161.Sh SEE ALSO 162.Xr cardbus 4 , 163.Xr com 4 , 164.Xr intro 4 , 165.Xr lpt 4 , 166.Xr pci 4 167.Sh HISTORY 168The 169.Nm 170driver first appeared in 171.Nx 1.4 . 172.Ox 173support was added in 174.Ox 2.7 . 175CardBus support was added in 176.Ox 4.0 . 177.Sh AUTHORS 178The 179.Nm 180driver was written by Chris Demetriou. 181.Sh BUGS 182The current design of this driver keeps any 183.Nm com 184ports on these cards from easily being used as console. 185Of course, because boards with those are PCI boards, they also suffer 186from dynamic address assignment, which also means that they 187can't easily be used as console. 188.Pp 189Some of the cards supported by this driver have jumper-selectable 190.Nm com 191port clock multipliers, which are unsupported by this driver. 192Those can be easily accommodated with driver flags, or by 193using a properly scaled baud rate when talking to the card. 194.Pp 195Some of the cards supported by this driver, e.g., the VScom PCI-800, 196have software-selectable 197.Nm com 198port clock multipliers, which are unsupported by this driver. 199Those can be accommodated using internal driver flags, or by using 200a properly scaled baud rate when talking to the card. 201.Pp 202Some ports use an 203.Nm lpt 204driver other than the machine-independent driver. 205Those ports will not be able to use 206.Nm lpt 207ports attached to 208.Nm 209devices. 210