1.\" $NetBSD: puc.4,v 1.21 2007/06/04 11:08:36 jnemeth 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 June 4, 2007 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 "Dolphin Peripherals 4014 (dual parallel)" 65.It Tn "Dolphin Peripherals 4035 (dual serial)" 66.It Tn "NetMos NM9835 (dual parallel and single serial)" 67.It Tn "SIIG Cyber 2P1S PCI (dual parallel and single serial)" 68.It Tn "SIIG Cyber 2S1P PCI (dual serial and single parallel)" 69.It Tn "SIIG Cyber 4S PCI (quad serial)" 70.It Tn "SIIG Cyber I/O PCI (single serial and single parallel)" 71.It Tn "SIIG Cyber Parallel Dual PCI (dual parallel)" 72.It Tn "SIIG Cyber Parallel PCI (single parallel)" 73.It Tn "SIIG Cyber Serial Dual PCI (dual serial)" 74.It Tn "SIIG Cyber Serial PCI (single serial)" 75.It Tn "VScom PCI-200 (dual serial)" 76.It Tn "VScom PCI-400 (4-port serial" 77.It Tn "VScom PCI-800 (8-port serial)" 78.It Tn "Titan PCI-800 (8-port serial)" 79.It Tn "Titan PCI-200 (dual serial)" 80.It Tn "NEC PK-UG-X001 K56flex PCI Modem" 81.It Tn "NEC PK-UG-X008" 82.It Tn "Lava Computers 2SP-PCI (single parallel)" 83.It Tn "Lava Computers dual serial" 84.It Tn "Lava Computers Octopus (8-port serial)" 85.It Tn "US Robotics (3Com) 3CP5609 PCI 16550 Modem" 86.It Tn "Actiontec 56K PCI Master" 87.It Tn "Oxford Semiconductor OX16PCI952 (dual serial and single parallel)" 88.It Tn "Oxford Semiconductor OX16PCI954 (4-port serial)" 89.It Tn "NetMos 1P PCI (single parallel)" 90.It Tn "NetMos 2S1P PCI 16C650 (dual serial and single parallel)" 91.It Tn "NetMos 4S1P PCI NM9845 (4-port serial and single parallel)" 92.It Tn "Middle Digital, Inc. Weasel serial port" 93.It Tn "Avlab Technology, Inc. Low Profile PCI 4 Serial (4-port serial)" 94.It Tn "Boca Research Turbo Serial 654 (4-port serial)" 95.It Tn "Chase Research / Perle PCI-FAST4 (4-port serial)" 96.It Tn "Boca Research Turbo Serial 658 (8-port serial)" 97.It Tn "Chase Research / Perle PCI-FAST8 (8-port serial)" 98.It Tn "ADDI-DATA APCI-7800 (8-port serial)" 99.It Tn "Moxa Technologies SmartIO CP104/PCI (4-port serial)" 100.It Tn "EXAR XR17D152 (2-port serial)" 101.It Tn "EXAR XR17D154 (4-port serial)" 102.It Tn "EXAR XR17D158 (8-port serial)" 103.El 104.Pp 105The driver does not support the cards: 106.Pp 107.Bl -tag -width Fl -offset indent -compact 108.It Tn "Dolphin Peripherals 4006 (single parallel)" 109.It Tn "Dolphin Peripherals 4025 (single serial)" 110.It Tn "Dolphin Peripherals 4078 (dual serial and single parallel)" 111.El 112.Pp 113but support for them (and for similar cards) should be trivial to add. 114.Pp 115The 116.Ar port 117locator is used to identify the port (starting from 0) on the 118communications card that a subdevice is supposed to attach to. 119Typically, the numbering of ports is explained in a card's 120hardware documentation, and the port numbers used by the driver 121are the same as (or one off from, e.g. the manual uses ports 122numbered starting from 1) those described in the documentation. 123.Sh SEE ALSO 124.Xr com 4 , 125.Xr lpt 4 , 126.Xr pci 4 127.Sh HISTORY 128The 129.Nm 130driver appeared in 131.Nx 1.4 . 132.Sh AUTHORS 133The 134.Nm 135driver was written by Chris Demetriou. 136.Sh BUGS 137The current design of this driver keeps any 138.Nm com 139ports on these cards from easily being used as console. Of 140course, because boards with those are PCI boards, they also suffer 141from dynamic address assignment, which also means that they 142can't easily be used as console. 143.Pp 144Some of the cards supported by this driver have jumper-selectable 145.Nm com 146port clock multipliers, which are unsupported by this 147driver. Those can be easily accommodated with driver flags, or by 148using a properly scaled baud rate when talking to the card. 149.Pp 150Some of the cards supported by this driver, e.g. the VScom PCI-800, 151have software-selectable 152.Nm com 153port clock multipliers, which are unsupported by this driver. 154Those can be accommodated using internal driver flags, or by using 155a properly scaled baud rate when talking to the card. 156.Pp 157Some ports use an 158.Nm lpt 159driver other than the machine-independent driver. Those ports 160will not be able to use 161.Nm lpt 162ports attached to 163.Nm 164devices. 165