File:  [CSRG BSD Unix] / 43BSDReno / sys / vaxuba / dmzreg.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

/*
 * Copyright (c) 1985, 1986 Regents of the University of California.
 * All rights reserved.  The Berkeley software License Agreement
 * specifies the terms and conditions for redistribution.
 *
 *	@(#)dmzreg.h	7.2 (Berkeley) 2/19/87
 */

/*
 * Registers for DMZ-32.
 * Defined in terms of dmx_octet common registers.
 */
struct dmzdevice {
	short	dmz_config;			/* configuration csr */
	short	dmz_diag;			/* diagnostic csr */
	struct	dmx_octet dmz_octet[3];		/* per-octet registers */
};


#define	DMZ(a)		(a/24)
#define	OCTET(a)	((a%24)/8)
#define	LINE(a)		((a%24)%8)

#define	DMZ_NOC_MASK	03
#define	DMZ_INTERFACE	000

unix.superglobalmegacorp.com

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