xref: /dragonfly/share/man/man4/puc.4 (revision b7367ef6)
1.\" Copyright (c) 2002 John Hay.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: src/share/man/man4/puc.4,v 1.1.2.1 2002/03/07 17:48:38 jhay Exp $
26.\" $DragonFly: src/share/man/man4/puc.4,v 1.4 2007/04/09 21:20:37 swildner Exp $
27.\"
28.Dd February 7, 2002
29.Dt PUC 4
30.Os
31.Sh NAME
32.Nm puc
33.Nd PCI ``Universal'' Communications driver
34.Sh SYNOPSIS
35.Cd device pci
36.Cd device puc
37.Cd device sio
38.Cd options PUC_FASTINTR
39.Sh DESCRIPTION
40This driver acts as a shim to connect pci serial ports to the
41.Xr sio 4
42driver.
43.Pp
44The list of supported devices is in
45.Em src/sys/dev/puc/pucdata.c .
46Support for new cards should be added there.
47.Pp
48If the PUC_FASTINTR option is used the driver will try to use fast interrupts.
49This should lower the interrupt latency and should be used if the
50.Xr sio 4
51driver reports
52.Em silo overflow
53errors.
54It cannot be used if the interrupt is shared.
55.Sh SEE ALSO
56.Xr sio 4
57.Sh HISTORY
58This driver took the idea from the
59.Nx
60.Xr puc 4
61driver and still use the same structure to describe cards to ease exchanging
62card info.
63.Sh BUGS
64Only serial ports are supported through the
65.Xr sio 4
66driver at the moment.
67Someone should write support for parallel ports using the
68.Xr lpt 4
69driver.
70