1.\" $NetBSD: puc.4,v 1.33 2010/08/01 18:50:25 msaitoh Exp $ 2.\" 3.\" Copyright (c) 1998 Christopher G. Demetriou 4.\" 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 for the 17.\" NetBSD Project. See http://www.NetBSD.org/ for 18.\" information about NetBSD. 19.\" 4. The name of the author may not be used to endorse or promote products 20.\" derived from this software without specific prior written permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 23.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 31.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32.\" 33.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> 34.\" 35.Dd August 1, 2010 36.Dt PUC 4 37.Os 38.Sh NAME 39.Nm puc 40.Nd PCI 41.Dq universal 42communications card driver 43.Sh SYNOPSIS 44.Cd "puc* at pci? dev ? function ?" 45.Cd "com* at puc? port ?" 46.Cd "lpt* at puc? port ?" 47.Sh DESCRIPTION 48The 49.Nm 50driver provides support for PCI communications cards containing 51simple communications ports, such as NS16550-family 52.Pf ( Nm com ) 53serial ports and standard PC-like 54.Pf ( Nm lpt ) 55parallel ports. 56The driver is called 57.Dq universal 58because the interfaces to these devices aren't nearly as well 59defined and standard as they should be. 60.Pp 61The driver currently supports the following cards: 62.Pp 63.Bl -tag -width Dv -offset indent -compact 64.It Tn "ADDI-DATA APCI-7800 (8 port serial)" 65.It Tn "Actiontec 56K PCI Master" 66.It Tn "Advantech PCI-1604UP (2 port serial)" 67.It Tn "Advantech PCI-1610 (4 port serial)" 68.It Tn "Advantech PCI-1612 (4 port serial)" 69.It Tn "Advantech PCI-1620 (8 port serial)" 70.It Tn "Avlab Technology, Inc. Low Profile PCI 4 Serial (4 port serial)" 71.It Tn "Boca Research Turbo Serial 654 (4 port serial)" 72.It Tn "Boca Research Turbo Serial 658 (8 port serial)" 73.It Tn "Chase Research / Perle PCI-FAST4 (4 port serial)" 74.It Tn "Chase Research / Perle PCI-FAST8 (8 port serial)" 75.It Tn "Comtrol RocketPort 550/4 series (4 port serial)" 76.It Tn "Comtrol RocketPort 550/8 series (8 port serial)" 77.It Tn "Comtrol RocketPort 550/16 series (16 port serial)" 78.It Tn "Decision Computer Inc PCCOM PCI 2 Port (2 port serial)" 79.It Tn "Decision Computer Inc PCCOM PCI 4 Port (4 port serial)" 80.It Tn "Decision Computer Inc PCCOM PCI 8 Port (8 port serial)" 81.It Tn "Digi International Digi Neo 4 (4 port serial)" 82.It Tn "Digi International Digi Neo 8 (8 port serial)" 83.It Tn "Dolphin Peripherals 4014 (dual parallel)" 84.It Tn "Dolphin Peripherals 4035 (dual serial)" 85.It Tn "Dolphin Peripherals 4036 (dual serial)" 86.It Tn "EXAR XR17D152 (2 port serial)" 87.It Tn "EXAR XR17D154 (4 port serial)" 88.It Tn "EXAR XR17D158 (8 port serial)" 89.It Tn "Exsys EX-41098 (4 port serial)" 90.It Tn "IBM 4810 SurePOS 300 Series SCC (4 port serial)" 91.It Tn "InnoSys Keyspan SX Pro (4 port serial)" 92.It Tn "I-O DATA RSA-PCI (2 port serial)" 93.It Tn "I-O DATA RSA-PCI2 (2 port serial)" 94.It Tn "I-O DATA RSA-PCI2/P4 (4 port serial)" 95.It Tn "I-O DATA RSA-PCI2/P8 (8 port serial)" 96.It Tn "Lava Computers 2SP-PCI (single parallel)" 97.It Tn "Lava Computers Octopus (8 port serial)" 98.It Tn "Lava Computers Quatro-PCI (4 port serial)" 99.It Tn "Lava Computers dual serial" 100.It Tn "Middle Digital, Inc. Weasel serial port" 101.It Tn "Moxa Technologies SmartIO C104H/PCI (4 port serial)" 102.It Tn "Moxa Technologies SmartIO C168EL-A/PCIe (8 port serial)" 103.It Tn "Moxa Technologies SmartIO C168EL/PCIe (8 port serial)" 104.It Tn "Moxa Technologies SmartIO C168H/PCI (8 port serial)" 105.It Tn "Moxa Technologies SmartIO C168U/PCI (8 port serial)" 106.It Tn "Moxa Technologies SmartIO CP-114/PCI (4 port serial)" 107.It Tn "Moxa Technologies SmartIO CP-102/PCI (2 port serial)" 108.It Tn "Moxa Technologies SmartIO CP-104-EL/PCIe (4 port serial)" 109.It Tn "Moxa Technologies SmartIO CP-104-V2/PCI (4 port serial)" 110.It Tn "Moxa Technologies SmartIO CP-104/PCI (4 port serial)" 111.It Tn "Multi-Tech ISI5634PCI/4 (4 port serial)" 112.It Tn "NEC PK-UG-X001 K56flex PCI Modem" 113.It Tn "NEC PK-UG-X008" 114.It Tn "NetMos 1P PCI (single parallel)" 115.It Tn "NetMos 2S1P PCI 16C650 (dual serial and single parallel)" 116.It Tn "NetMos 4S1P PCI NM9845 (4 port serial and single parallel)" 117.It Tn "NetMos NM9835 (dual parallel and single serial)" 118.It Tn "NetMos NM9835 UART (1 port serial)" 119.It Tn "NetMos NM9865 Single UART and Single LPT" 120.It Tn "NetMos NM9865 Dual UART and Single LPT" 121.It Tn "NetMos NM9865 Dual LPT" 122.It Tn "NetMos NM9865 2 UART (2 port serial)" 123.It Tn "NetMos NM9865 3 UART (3 port serial)" 124.It Tn "NetMos NM9865 4 UART (4 port serial)" 125.It Tn "NetMos NM9865 UART (1 port serial)" 126.It Tn "NetMos NM9901 PCIe (single parallel)" 127.It Tn "Oxford Semiconductor OX16PCI952 (dual serial and single parallel)" 128.It Tn "Oxford Semiconductor OX16PCI954 (4 port serial)" 129.It Tn "Oxford Semiconductor OX16PCI958 (8 port serial)" 130.It Tn "Oxford Semiconductor OXmPCI952 (2 port serial)" 131.It Tn "Perle Systems PCI-RAS 4 modem ports" 132.It Tn "Perle Systems PCI-RAS 8 modem ports" 133.It Tn "Perle Systems PCI-RASV92 4 modem ports" 134.It Tn "Perle Systems PCI-RASV92 8 modem ports" 135.It Tn "SIIG Cyber 2P1S PCI (dual parallel and single serial)" 136.It Tn "SIIG Cyber 2S1P PCI (dual serial and single parallel)" 137.It Tn "SIIG Cyber 4 PCI 16550 (4 port serial)" 138.It Tn "SIIG Cyber 4S PCI (quad serial)" 139.It Tn "SIIG Cyber 4S PCI 16C650 (20x family) (4 port serial)" 140.It Tn "SIIG Cyber I/O PCI (single serial and single parallel)" 141.It Tn "SIIG Cyber Parallel Dual PCI (dual parallel)" 142.It Tn "SIIG Cyber Parallel PCI (single parallel)" 143.It Tn "SIIG Cyber Serial Dual PCI (dual serial)" 144.It Tn "SIIG Cyber Serial PCI (single serial)" 145.It Tn "SUNIX 400x (1 port parallel)" 146.It Tn "SUNIX 401x (2 port parallel)" 147.It Tn "SUNIX 402x (1 port serial)" 148.It Tn "SUNIX 403x (2 port serial)" 149.It Tn "SUNIX 405x (4 port serial)" 150.It Tn "SUNIX 406x (8 port serial)" 151.It Tn "SUNIX 407x (2 port serial and 1 port parallel)" 152.It Tn "SUNIX 408x (2 port serial and 2 port parallel)" 153.It Tn "SUNIX 409x (4 port serial and 2 port parallel)" 154.It Tn "Syba Tech Ltd. PCI-4S" 155.It Tn "Syba Tech Ltd. PCI-4S2P-550-ECP" 156.It Tn "VScom PCI-010HV2 (1 port parallel)" 157.It Tn "VScom PCI-010L (1 port parallel)" 158.It Tn "VScom PCI-011H (1 port parallel)" 159.It Tn "VScom PCI-100H (1 port serial)" 160.It Tn "VScom PCI-100L (1 port serial)" 161.It Tn "VScom PCI-110L (1 port serial and 1 port parallel)" 162.It Tn "VScom PCI-200 (dual serial)" 163.It Tn "VScom PCI-200H (dual serial)" 164.It Tn "VScom PCI-200HV2 (dual serial)" 165.It Tn "VScom PCI-200L (dual serial)" 166.It Tn "VScom PCI-200Li (dual serial)" 167.It Tn "VScom PCI-210L (2 port serial and 1 port parallel)" 168.It Tn "VScom PCI-400 (4 port serial)" 169.It Tn "VScom PCI-400L (4 port serial)" 170.It Tn "VScom PCI-800 (8 port serial)" 171.It Tn "VScom PCI-800H (8 port serial)" 172.It Tn "VScom PCI-800L (8 port serial)" 173.It Tn "US Robotics (3Com) 3CP5609 PCI 16550 Modem" 174.El 175.Pp 176The driver does not support the cards: 177.Pp 178.Bl -tag -width Fl -offset indent -compact 179.It Tn "Dolphin Peripherals 4006 (single parallel)" 180.It Tn "Dolphin Peripherals 4025 (single serial)" 181.It Tn "Dolphin Peripherals 4078 (dual serial and single parallel)" 182.El 183.Pp 184but support for them (and for similar cards) should be trivial to add. 185.Pp 186The 187.Ar port 188locator is used to identify the port (starting from 0) on the 189communications card that a subdevice is supposed to attach to. 190Typically, the numbering of ports is explained in a card's 191hardware documentation, and the port numbers used by the driver 192are the same as (or one off from, e.g. the manual uses ports 193numbered starting from 1) those described in the documentation. 194.Sh SEE ALSO 195.Xr com 4 , 196.Xr lpt 4 , 197.Xr pci 4 198.Sh HISTORY 199The 200.Nm 201driver appeared in 202.Nx 1.4 . 203.Sh AUTHORS 204The 205.Nm 206driver was written by Chris Demetriou. 207.Sh BUGS 208The current design of this driver keeps any 209.Nm com 210ports on these cards from easily being used as console. 211Of course, because boards with those are PCI boards, they also 212suffer from dynamic address assignment, which also means that they 213can't easily be used as console. 214.Pp 215Some of the cards supported by this driver have jumper-selectable 216.Nm com 217port clock multipliers, which are unsupported by this 218driver. 219Those can be easily accommodated with driver flags, or by 220using a properly scaled baud rate when talking to the card. 221.Pp 222Some of the cards supported by this driver, e.g. the VScom PCI-800, 223have software-selectable 224.Nm com 225port clock multipliers, which are unsupported by this driver. 226Those can be accommodated using internal driver flags, or by using 227a properly scaled baud rate when talking to the card. 228.Pp 229Some ports use an 230.Nm lpt 231driver other than the machine-independent driver. 232Those ports will not be able to use 233.Nm lpt 234ports attached to 235.Nm 236devices. 237