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