2 .\" Copyright (c) 1996 Jonathan Stone.
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 3. All advertising materials mentioning features or use of this software
14 .\" must display the following acknowledgement:
15 .\" This product includes software developed by Jonathan Stone.
16 .\" 4. The name of the author may not be used to endorse or promote products
17 .\" derived from this software without specific prior written permission
19 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 .\" $NetBSD: scc.4,v 1.7 2003/05/01 19:31:54 fair Exp $
38 Zilog 8530 Serial Communications Controller interface
40 .Cd "scc* at ioasic? offset ?"
44 driver provides support for the
46 8530 Serial Communications
53 5000 models in the /100, /20, and /240 series
61 device has two serial ports.
64 5000 model 20 provides one
67 Other models provide two, but one port of each device is dedicated to
68 mouse and keyboard input, respectively.
70 Input and output for each line may set to one of following baud rates:
71 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600,
72 19200, 38400, or 57600.
74 Speeds up to 230400 are supported by the chip and the motherboard,
75 but speeds higher than 57600 do not work reliably without an external
78 .Bl -tag -width Pa -compact
85 The mapping from units to serial-hardware outlets is idiosyncratic.
86 The even ports are wired serial connectors and the odd-numbered ports
87 are reserved for mouse and keyboard.
89 On machines with one port like
90 .Tn "Personal DECstations" ,
98 the first serial port (default serial console) is
100 and the second port is
110 driver first appeared in
115 driver was also used for the
125 has since been converted to use the machine-independent
132 channels that can be programmed to transfer up to 4096 bytes of
133 data into, or out, of an
136 further software intervention.
139 is not yet supported.
141 The mapping from device-special files (major and minor number) to chip
142 and port is arguably backwards.
144 tries to hide the hardware mapping, but
155 comm-port lines should make links or device-special files which match
156 their hardware setup.