xref: /original-bsd/share/man/man4/man4.hp300/dcl.4 (revision a1c2194a)
1.\" Copyright (c) 1990, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Systems Programming Group of the University of Utah Computer
6.\" Science Department.
7.\" %sccs.include.redist.man%
8.\"
9.\"     @(#)dcl.4	5.2 (Berkeley) 03/27/91
10.\"
11.Dd
12.Dt DCL 4 hp300
13.Os
14.Sh NAME
15.Nm dcl
16.Nd
17.Tn HP
1898628A communications link
19.Sh SYNOPSIS
20.Cd "device dcl0 at scode? flags 0x1"
21.Sh DESCRIPTION
22The 98628A is a buffered
23.Tn EIA
24.Tn RS-232C
25.Pf ( Tn CCITT
26.Tn V.28 )
27communications interface.
28It has one port with full modem control.
29.Pp
30Input and output for each line may set to one of following baud rates;
310, 50, 75, 110, 134.5, 150, 200, 300, 600, 1200, 1800, 2400, 4800,
329600, 19200.
33.Pp
34An optional argument
35.Ar flags
36may be set to 1 if the line should be treated as hard-wired with
37carrier always present, or to 0 if modem control is desired.
38.Pp
39Use
40.Tn HP
41cable "98626 & 98628 opts.002,
42.Tn RS232-C
43.Tn DCE CABLE ,
445061-4216" to attach non-modem devices.
45Use
46.Tn HP
47cable "98626 & 98628 opts.001,
48.Tn RS232-C
49.Tn DTE CABLE ,
505061-4215" to attach modems.
51.Pp
52The 98628A has a 256 byte input silo and a 256 output silo. Input interrupts
53happen on a per character basis.
54.Pp
55The high water and low water marks in the kernel tty routines are completely
56inappropriate for a device like this with a large input buffer.  Don't use
57tandem mode if possible.  A fast system can handle input at 19.2K baud without
58receive overflow.
59.Pp
60For output to devices that make heavy use of
61.Tn XON/XOFF
62a write size of less
63then 256 will improve performance marginally.
64.Sh FILES
65.Bl -tag -width /dev/ttyl[0-9] -compact
66.It Pa /dev/ttyl[0-9]
67.El
68.Sh DIAGNOSTICS
69.Bl -diag
70.It dcl%d: error 0x%x RESET CARD.
71Where the errors are encoded:
72.Bd -unfilled -offset indent
730x06 card failure
740x0d uart receive overflow
750x0e receive overflow
760x0f missing external clock
770x10 cts false too long
780x11 lost carrier
790x12 activity timeout
800x13 connection not established
810x19 illegal databits/parity
820x1a register address out of range
830x1b register value out of range
840x-- unknown error
85.Ed
86.El
87.Sh SEE ALSO
88.Xr tty 4
89.Sh HISTORY
90The
91.Nm
92driver
93.Ud
94.Sh BUGS
95Breaks received at a faster rate then 1 break every second will be
96recognized as a single break.
97.Pp
98Console use is not supported.
99.Pp
100The
101.Tn RS-422/423/499 ,
102.Tn MTS-DSN/DL
103modes of the card are not supported.
104