xref: /netbsd-src/share/man/man4/puc.4 (revision aaf4ece63a859a04e37cf3a7229b5fab0157cc06)
1.\" $NetBSD: puc.4,v 1.18 2004/10/16 18:10:31 bouyer 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 October 16, 2004
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.El
100.Pp
101The driver does not support the cards:
102.Pp
103.Bl -tag -width Fl -offset indent -compact
104.It Tn "Dolphin Peripherals 4006 (single parallel)"
105.It Tn "Dolphin Peripherals 4025 (single serial)"
106.It Tn "Dolphin Peripherals 4078 (dual serial and single parallel)"
107.El
108.Pp
109but support for them (and for similar cards) should be trivial to add.
110.Pp
111The
112.Ar port
113locator is used to identify the port (starting from 0) on the
114communications card that a subdevice is supposed to attach to.
115Typically, the numbering of ports is explained in a card's
116hardware documentation, and the port numbers used by the driver
117are the same as (or one off from, e.g. the manual uses ports
118numbered starting from 1) those described in the documentation.
119.Sh SEE ALSO
120.Xr com 4 ,
121.Xr lpt 4 ,
122.Xr pci 4
123.Sh HISTORY
124The
125.Nm
126driver appeared in
127.Nx 1.4 .
128.Sh AUTHORS
129The
130.Nm
131driver was written by Chris Demetriou.
132.Sh BUGS
133The current design of this driver keeps any
134.Nm com
135ports on these cards from easily being used as console.  Of
136course, because boards with those are PCI boards, they also suffer
137from dynamic address assignment, which also means that they
138can't easily be used as console.
139.Pp
140Some of cards supported by this driver have jumper-selectable
141.Nm com
142port clock multipliers, which are unsupported by this
143driver.  Those can be easily accommodated with driver flags, or by
144using a properly scaled baud rate when talking to the card.
145.Pp
146Some of the cards supported by this driver, e.g. the VScom PCI-800,
147have software-selectable
148.Nm com
149port clock multipliers, which are unsupported by this driver.
150Those can be accommodated using internal driver flags, or by using
151a properly scaled baud rate when talking to the card.
152.Pp
153Some ports use an
154.Nm lpt
155driver other than the machine-independent driver.  Those ports
156will not be able to use
157.Nm lpt
158ports attached to
159.Nm
160devices.
161