* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)adreg.h 7.2 (Berkeley) %G%
short int ad_csr
; /* Control status register */
short int ad_data
; /* Data buffer */
#define AD_CHAN ADIOSCHAN
#define ADIOSCHAN _IOW('a', 0, int) /* set channel */
#define ADIOGETW _IOR('a', 1, int) /* read one word */
* Unibus CSR register bits
#define AD_INCENABLE 040000