1 /* 2 * Copyright (c) 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 * @(#)dmx.h 7.1 (Berkeley) 09/04/89 7 * 8 * Common structures and definitions 9 * for merged DMF and DMZ drivers. 10 */ 11 12 /* 13 * Software status per octet 14 */ 15 16 struct dmx_softc { 17 char dmx_flags; /* flags, below */ 18 char dmx_type; /* hardware type as character */ 19 char dmx_softCAR; /* softCAR flags per octet */ 20 char dmx_ubanum; /* uba number */ 21 short dmx_unit; /* board unit number */ 22 short dmx_unit0; /* line number of first line */ 23 struct dmx_octet *dmx_octet; /* hardware registers */ 24 struct tty *dmx_tty; /* base of ttys for octet */ 25 int dmx_dmacount[8]; /* output dma count, per line */ 26 }; 27 28 /* 29 * flags 30 */ 31 #define DMX_ACTIVE 0x01 /* has been opened */ 32