diff options
author | jhay <jhay@FreeBSD.org> | 2002-02-16 15:12:14 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2002-02-16 15:12:14 +0000 |
commit | a6fbc8577e59b0369bb7a6af91e8b6a4a20829a2 (patch) | |
tree | a1cbdb342a7c5e53ca19b8b1853265d6794be13b /share/man/man4/puc.4 | |
parent | 4c0d10cd1b5a5716ef37c0b77c6255d4532b9d02 (diff) | |
download | FreeBSD-src-a6fbc8577e59b0369bb7a6af91e8b6a4a20829a2.zip FreeBSD-src-a6fbc8577e59b0369bb7a6af91e8b6a4a20829a2.tar.gz |
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
Diffstat (limited to 'share/man/man4/puc.4')
-rw-r--r-- | share/man/man4/puc.4 | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/share/man/man4/puc.4 b/share/man/man4/puc.4 new file mode 100644 index 0000000..15772b0 --- /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. |