1DR(4)                      Kernel Interfaces Manual                      DR(4)
2
3
4

NAME

6       dr - DR11-W general purpose interface driver
7

SYNOPSIS

9       /sys/conf/SYSTEM:
10            NDR  dr11-w_units   # DR11-W
11
12       /etc/dtab:
13            #Name Unit# Addr   Vector Br Handler(s)      # Comments
14            dr    ?     172410 124    5  drintr          # dr11-w (b-bus emulator)
15            dr    ?     172430 130    5  drintr          # dr11-w (gc-bus emulator)
16            dr    ?     172450 134    5  drintr          # dr11-w (em-2 interface)
17
18       major device number(s):
19            raw: 12
20       minor device encoding:
21            bits 0007 specify DR unit
22

DESCRIPTION

24       The Digital Equipment 1981-82 Peripherals Handbook states the following
25       about the DR11-W:
26
27              The The DR11-W is a general purpose, direct memory access  (DMA)
28              interface  to the PDP-11 UNIBUS or VAX UNIBUS.  The DR11-W moves
29              data directly between memory and the  UNIBUS  to  and  from  the
30              user's peripheral.
31
32              It features:
33
34              ·      Word or byte transfers.
35
36              ·      Programmed or direct memory access (DMA) block transfers.
37
38              ·      Burst data transfers.
39
40              ·      User-controlled transfer rates up to memory speed.
41
42              The  DR11-W is a 53-line direct memory access (DMA) interface to
43              the PDP-11 UNIBUS or VAX UBA, which allows the user  to  control
44              data transfers between the host processor and a peripheral.  The
45              DR11-W has 32 data lines (for transferring 16-bit parallel data)
46              and 21 control lines (for transferring control and status infor‐
47              mation.
48
49              When used as an interprocessor buffer (IPB), the  DR11-W  allows
50              data  transfers between two processors.  Interprocessor communi‐
51              cation is accomplished by attaching one DR11-W to each processor
52              UNIBUS or UBA and then cabling the two DR11-Ws together.
53
54       There.  Now you know as much about it as I do.
55
56       A number of ioctl(2) calls apply to the dr devices, and have the form
57              #include <pdpuba/drreg.h>
58              ioctl(fildes, code, arg)
59              int *arg;
60       The applicable codes are:
61
62       DRGTTY            Get DR11-W status.
63
64       DRSTTY            Set flags and function.
65
66       DRSFUN            Set function.
67
68       DRSFLAG           Set flags.
69
70       DRGCSR            Get CSR and WCR.
71
72       DRSSIG            Set signal for ATTN interrupt.
73
74       DRESET            Reset DR11-W interface.
75
76       DRSTIME           Set timeout.
77
78       DRCTIME           Set timeout inactive.
79
80       DROUTPUT          Put word in output data register.
81
82       DRINPUT           Get word from input data register.
83
84       DRITIME           Don't ignore errors on timeout.
85

FILES

87       /dev/dr[0-7]        device special files
88       /dev/MAKEDEV        script to create special files
89       /dev/MAKEDEV.local  script to localize special files
90

SEE ALSO

92       dtab(5), autoconfig(8)
93

DIAGNOSTICS

95       dr%d: error csr=%b, eir=%b
96
97       dr%d: timeout error
98

BUGS

100       This interface is only available under 2.9BSD and 2.11BSD.  No documen‐
101       tation exists on how to use it.
102
103
104
1053rd Berkeley Distribution      January 27, 1996                          DR(4)
Impressum