xref: /csrg-svn/share/man/man4/man4.vax/dmf.4 (revision 61595)
1*61595Sbostic.\" Copyright (c) 1983, 1991, 1993
2*61595Sbostic.\"	The Regents of the University of California.  All rights reserved.
320712Smckusick.\"
447674Scael.\" %sccs.include.redist.man%
520712Smckusick.\"
6*61595Sbostic.\"     @(#)dmf.4	8.1 (Berkeley) 06/05/93
747674Scael.\"
847674Scael.Dd
947674Scael.Dt DMF 4 vax
1047674Scael.Os BSD 4.2
1147674Scael.Sh NAME
1247674Scael.Nm dmf
1347674Scael.Nd
1447674Scael.Tn DMF-32
1547674Scaelterminal multiplexor
1647674Scael.Sh SYNOPSIS
1747674Scael.Cd "device dmf0 at uba? csr 0160340 vector dmfsrint dmfsxint dmfdaint dmfdbint dmfrint dmfxint dmflint"
1847674Scael.Sh DESCRIPTION
1947674ScaelThe
2047674Scael.Nm dmf
2127454Sdonndevice provides 8 lines of asynchronous serial line support.
2227454SdonnThe first two of these have full modem control.
2327454SdonnThe device also provides a line printer port
2447674Scaelsimilar to the
2547674Scael.Tn LP-11 .
2647674ScaelOther features of the
2747674Scael.Tn DMF-32
2847674Scaelare not supported.
2947674ScaelDuring autoconfiguration, the driver examines the configuration of each
3047674Scael.Tn DMF-32
3128259Skarelsand adjusts the interrupt vectors so that fewer vector locations are used
3228259Skarelsif possible.
3347674Scael.Pp
3447674ScaelAn optional argument
3547674Scael.Ar flags
3647674Scaelmay be supplied with the device specification
3747674Scaelin the config file indicating
3847674Scaelthat the line corresponding to
3947674Scaelbit number
4047674Scael.Ar i
4147674Scaelis not properly
4247674Scaelconnected, and should be treated as hard-wired with carrier
4347674Scaelalways present.  Thus specifying
4447674Scael.Ql flags 0x04
4547674Scaelfor
4647674Scael.Li dmf0
4747674Scaelwould cause line
4847674Scael.Pa ttyA2
4947674Scaelto be treated in this way.
5028259SkarelsFlags should be set for all lines without hardware support for modem control.
5147674Scael.Pp
5247674ScaelNormal
5347674Scael.Tn I/O
5447674Scaelcontrol parameters for individual lines are managed by
5547674Scael.Xr ioctl 2
5647674Scaelcalls.
5747674ScaelLine speeds may be initiated via
5847674Scael.Xr getty 8
5947674Scaeland
6047674Scael.Xr stty 1
6147674Scaelor may be communicated by other programs which
6247674Scaelutilize
6347674Scael.Xr ioctl
6447674Scaelsuch as
6547674Scael.Xr ifcongif 8 ,
6647674Scaelsee
6747674Scael.Xr tty 4  .
6847674Scael.Pp
6927454SdonnThe serial line part of the
7047674Scael.Nm dmf
7128259Skarelsdriver normally enables the input silos with a short timeout
7228259Skarels(30 milliseconds); this allows multiple characters to be received
7328259Skarelsper interrupt during periods of high-speed input.
7447674Scael.Pp
7547674ScaelA line printer port on a
7647674Scael.Nm dmf
7727454Sdonnis designated by
7847674Scaela minor device number of the form
7947674Scael.Pf 128+ Ns Ar n .
8047674ScaelSee
8147674Scael.Xr MAKEDEV 8 .
8247674ScaelColumn and lines per page may be changed from the default
8327454Sdonn132 columns and 66 lines by encoding the number of columns
8427454Sdonnin bits 8-15 of flags and the number of lines in bits 16-23.
8527454SdonnThis device does not provide the fancy output canonicalization
8627454Sdonnfeatures of the
8747674Scael.Xr lp 4
8827454Sdonndriver.
8947674Scael.Sh FILES
9047674Scael.Bl -tag -width "/dev/tty[A-CE-I][0-7]" -compact
9147674Scael.It Pa /dev/tty[A-CE-I][0-7]
9247674Scael.It Pa /dev/ttyd[0-7]
9347674Scael.It Pa /dev/lp
9447674Scael.El
9547674Scael.Sh DIAGNOSTICS
9647674Scael.Bl -diag
9747674Scael.It dmf%d: NXM line %d.
9847674ScaelNo response from
9947674Scael.Tn UNIBUS
10047674Scaelon a DMA transfer
10147674Scaelwithin a timeout period.  This is often followed by a
10247674Scael.Tn UNIBUS
10347674Scaeladapter
10447674Scaelerror.  This occurs most frequently when the
10547674Scael.Tn UNIBUS
10647674Scaelis heavily loaded
10747674Scaeland when devices which hog the bus (such as
10847674Scael.Tn RK07 Ns s )
10947674Scaelare present.
11020712SmckusickIt is not serious.
11147674Scael.Pp
11247674Scael.It dmf%d: silo overflow.
11320712SmckusickThe character input silo overflowed
11420712Smckusickbefore it could be serviced.  This can happen if a hard error occurs
11547674Scaelwhen the
11647674Scael.Tn CPU
11747674Scaelis running with elevated priority, as the system will
11827454Sdonnthen print a message on the console with interrupts disabled.
11920712SmckusickIt is not serious.
12047674Scael.Pp
12147674Scael.It dmfsrint, dmfsxint, dmfdaint, dmfdbint.
12220712SmckusickOne of the unsupported parts of the dmf interrupted; something
12320712Smckusickis amiss, check your interrupt vectors for a conflict with another
12420712Smckusickdevice.
12547674Scael.El
12647674Scael.Sh SEE ALSO
12747674Scael.Xr tty 4
12847674Scael.Sh HISTORY
12947674ScaelThe
13047674Scael.Nm
13147674Scaeldriver appeared in
13247674Scael.Bx 4.2 .
13347674Scael.Sh BUGS
13428259SkarelsIt should be possible to set the silo timeout with a configuration file option,
13528259Skarelsas the value is a trade-off between efficiency and response time for flow
13628259Skarelscontrol and character echo.
137