File:  [CSRG BSD Unix] / 43BSDReno / share / man / man4 / man4.tahoe / dr.4
Revision 1.1: download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
CVS tags: MAIN, HEAD
Initial revision

.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)dr.4	6.2 (Berkeley) 6/30/87
.\"
.TH DR 4 "November 21, 1986"
.UC 5
.SH NAME
dr \- Ikon DR-11W interface
.SH SYNOPSIS
.B "device dr0 at vba? csr 0xffff8000 vector drintr"
.SH DESCRIPTION
The
.I dr
driver provides access
to an Ikon DR-11W DMA controller.
Each minor device is a different controller.
.PP
In addition to reading and writing, the following
.I ioctl
requests are available:
.TP 10
DRWAIT
Wait for an attention interrupt from the associated device.
.TP
DRPIOW
Write to the programmed i/o register.
.TP
DRPACL
Write to the pulse register.
.TP
DRDACL
Set the ``ac-low'' bit in the next command sent to the DR-11W.
.TP
DRPCYL
Set the ``cycle'' bit in the next command sent to the DR-11W.
.TP
DRDFCN
Hold the function bits until the next command is issused.
.TP
DRRATN
Reset the attention flag.
.TP
DRRDMA
Reset the DMA complete flag.
.TP
DRSFCN
Set the function bits in the control status register and,
as a side effect, clear the interrupt enable flag.
.TP
DRRPER
Reset the parity error flag.
.TP
DRSETRSTALL
Set ``no stall'' mode for all subsequent reads.
In no stall mode the driver will abort
read requests that fail to complete before a user
specified timeout expires.
.TP
DRSETNORSTALL
Disable no stall mode for reads.
.TP
DRGETRSTALL
Return true if in no stall mode for reads.
.TP
DRSETRTIMEOUT
Set the value of the timeout used in no stall mode  for
reads.  The time is specified in tenths of seconds.
.TP
DRGETRTIMEOUT
Return the time until (in tenths of seconds) before a read
is timed out when in no stall mode.
.TP
DRSETWSTALL
Set ``no stall'' mode for all subsequent writes.
In no stall mode the driver will abort
write requests that fail to complete before a user
specified timeout expires.
.TP
DRSETNOWSTALL
Disable no stall mode for writes.
.TP
DRGETWSTALL
Return true if in no stall mode for writes.
.TP
DRSETWTIMEOUT
Set the value of the timeout used in no stall mode  for
writes.  The time is specified in tenths of seconds.
.TP
DRGETRTIMEOUT
Return the time until (in tenths of seconds) before a write
is timed out when in no stall mode.
.TP
DRWRITEREADY
Return 1 if the device can accept data, 0 otherwise
(this is areally the DR-11W A status bit).
.TP
DRREADREADY
Return 1 if the device has data for the host to read,
0 otherwise (this is really the DR-11W B status bit).
.TP
DRBUSY
Return 1  if the device is busy, 0 otherwise.
.TP
DRRESET
Reset the DR-11W.
.TP
DR11STAT
Return the driver status and the contents of the
DR-11W i/o registers.  The
eight words returned are, in order, the driver
status flags, the contents of the control status
register, the contents of the status register
at the time of the last interrupt from the device,
the contents of the programmed i/o data register,
a combination of the address modifier used by the
device in performing VERSAbus transfers and the
interrupt vector used by the device, the contents
of the range register, the contents of the rahi
register, and the contents of the ralo register.
.TP
DR11LOOP
Perform loopback testing (the loopback cable must
be in place for this to work).
.SH FILES
/dev/dr[0-7]	standard devices
.SH DIAGNOSTICS
Lots of them, none of them meaningful.
.SH BUGS
This driver needs to be rewritten.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.