1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)uureg.h 7.1 (Berkeley) 6/5/86
7: */
8:
9:
10: /*
11: * DL11-E/DL11-W UNIBUS (for TU58) controller registers
12: */
13: struct uudevice {
14: short rcs; /* receiver status register */
15: short rdb; /* receiver data buffer register */
16: short tcs; /* transmitter status register */
17: short tdb; /* transmitter data buffer register */
18: };
19:
20: /*
21: * Receiver/transmitter status register status/command bits
22: */
23: #define UUCS_DONE 0x80 /* done/ready */
24: #define UUCS_READY 0x80
25: #define UUCS_INTR 0x40 /* interrupt enable */
26: #define UUCS_MAINT 0x02 /* maintenance check (xmitter only) */
27: #define UUCS_BREAK 0x01 /* send break (xmitter only) */
28:
29: /*
30: * Receiver data buffer register status bits
31: */
32: #define UURDB_ERROR 0x8000 /* Error (overrun or break) */
33: #define UURDB_ORUN 0x4000 /* Data overrun error */
34: #define UURDB_BREAK 0x2000 /* TU58 break */
35:
36: #define UUDB_DMASK 0x00ff /* data mask (send and receive data) */
Defined struct's
Defined macros
Usage of this include