aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2002-02-16 15:12:14 +0000
committerJohn Hay <jhay@FreeBSD.org>2002-02-16 15:12:14 +0000
commit9c564b6c92b0eb6ef47595f394c4e76b1a45d3c4 (patch)
treea1cbdb342a7c5e53ca19b8b1853265d6794be13b /share/man
parent8e7cf3debfd07c7e94b81628f1241dd94365e50b (diff)
downloadsrc-9c564b6c92b0eb6ef47595f394c4e76b1a45d3c4.tar.gz
src-9c564b6c92b0eb6ef47595f394c4e76b1a45d3c4.zip
Add the puc (PCI "Universal" Communications) driver. The idea and some of
the structure definitions come from NetBSD to make it easier to share card definitions. The driver only acts as a shim between the pci bus and the sio driver. Later pci parallel ports could also be supported through this driver. Support for most single and multiport pci serial cards should be as simple as adding its definition to pucdata.c Tested with the following pci cards: Moxa Industio CP-114, 4 port RS-232,RS-422/485 Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports Netmos NM9835 PCI-2S-550, 2 port RS-232
Notes
Notes: svn path=/head/; revision=90731
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/Makefile1
-rw-r--r--share/man/man4/puc.468
2 files changed, 69 insertions, 0 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 8014fc3de0bf..d2737b65135a 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -131,6 +131,7 @@ MAN= aac.4 \
psm.4 \
pt.4 \
pty.4 \
+ puc.4 \
random.4 \
rl.4 \
route.4 \
diff --git a/share/man/man4/puc.4 b/share/man/man4/puc.4
new file mode 100644
index 000000000000..15772b00385a
--- /dev/null
+++ b/share/man/man4/puc.4
@@ -0,0 +1,68 @@
+.\" Copyright (c) 2002 John Hay.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd February 7, 2002
+.Dt PUC 4
+.Os
+.Sh NAME
+.Nm puc
+.Nd PCI ``Universal'' Communications driver
+.Sh SYNOPSIS
+.Cd device pci
+.Cd device puc
+.Cd device sio
+.Cd options PUC_FASTINTR
+.Sh DESCRIPTION
+This driver acts as a shim to connect pci serial ports to the
+.Xr sio 4
+driver.
+.Pp
+The list of supported devices is in
+.Em src/sys/dev/puc/pucdata.c.
+Support for new cards should be added there.
+.Pp
+If the PUC_FASTINTR option is used the driver will try to use fast interrupts.
+This should lower the interrupt latency and should be used if the
+.Xr sio 4
+driver reports
+.Em silo overflow
+errors.
+It cannot be used if the interrupt is shared.
+.Sh SEE ALSO
+.Xr sio 4
+.Sh HISTORY
+This driver took the idea from the
+.Nx
+.Xr puc 4
+driver and still use the same structure to describe cards to ease exchanging
+card info.
+.Sh BUGS
+Only serial ports are supported through the
+.Xr sio 4
+driver at the moment.
+Someone should write support for parallel ports using the
+.Xr lpt 4
+driver.