1 .\" $NetBSD: com.4,v 1.13 2007/06/01 11:24:22 jnemeth Exp $
3 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to Berkeley by
7 .\" the Systems Programming Group of the University of Utah Computer
8 .\" Science Department.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
17 .\" 3. Neither the name of the University nor the names of its contributors
18 .\" may be used to endorse or promote products derived from this software
19 .\" without specific prior written permission.
21 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .\" from: @(#)dca.4 5.2 (Berkeley) 3/27/91
40 .Nd serial communications interface
42 .Cd "com0 at isa? port" \&"IO_COM1\&" irq 4
43 .Cd "com1 at isa? port" \&"IO_COM2\&" irq 3
45 .Cd "com* at cardbus?"
47 .Cd "com* at mca? slot ?"
52 .Cd "com* at pnpbios? index ?"
53 .Cd "com* at puc? port ?"
55 .Cd options COM_HAYESP
58 .Cd "com0 at mainbus? base 0x00210fe0"
59 .Cd "com1 at mainbus? base 0x00210be0"
60 .Ss HP 9000/300 and 400 Series
61 .Cd "com* at dio? scode ?"
62 .Cd "com* at frodo? offset ?"
71 driver provides support for NS8250-, NS16450-, and NS16550-based
76 communications interfaces.
77 The NS8250 and NS16450 have single character
78 buffers, and the NS16550 has a 16 character buffer.
80 Input and output for each line may set to one of following baud rates;
81 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600,
82 19200, 38400, 57600, or 115200, or any other baud rate which is a factor
85 The ttyXX devices are traditional dial-in devices; the dtyXX devices are
90 .Cd options COM_HAYESP
91 adds support for the Hayes ESP serial board.
97 driver can be used to collect entropy for the
100 The entropy is generated from interrupt randomness.
106 driver will not set the
109 This is mainly for use on AST multiport boards, where the
111 bit is used to control whether or not the devices use a shared
114 .Bl -tag -width Pa -compact
124 .It com%d: %d silo overflows
127 has overflowed and incoming data has been lost.
128 .It com%d: weird interrupt: iir=%x
129 The device has generated an unexpected interrupt
130 with the code listed.
151 driver was originally derived from the HP9000/300
155 Data loss is possible on busy systems with unbuffered UARTs at high speed.
157 The name of this driver and the constants which define the locations
158 of the various serial ports are holdovers from