From dd0709d28d888dfb6ed26528792cbae9cd3f430d Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 27 Aug 1998 20:05:11 +0000 Subject: [PATCH] Add selected `%b' bits. --- sys/dev/ic/ad1848reg.h | 5 ++++- sys/dev/ic/cs4231reg.h | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/ad1848reg.h b/sys/dev/ic/ad1848reg.h index 0df7321cd854..8d6821e0368d 100644 --- a/sys/dev/ic/ad1848reg.h +++ b/sys/dev/ic/ad1848reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: ad1848reg.h,v 1.6 1998/08/27 19:53:03 pk Exp $ */ +/* $NetBSD: ad1848reg.h,v 1.7 1998/08/27 20:05:11 pk Exp $ */ /* * Copyright (c) 1994 John Brezak @@ -104,6 +104,9 @@ #define CAPTURE_UPPER 0x80 /* cplower is not upper */ +#define AD_R2_BITS "\20\1INT\2PRDY\3PL/R\4PU/L\5SER\6CRDY\7CL/R\10CU/L" + + /* ADC Input control - registers I0 (left) and I1 (right) */ #define LINE_INPUT 0x00 #define AUX_INPUT 0x40 diff --git a/sys/dev/ic/cs4231reg.h b/sys/dev/ic/cs4231reg.h index 54717ac255d0..d175d53863f0 100644 --- a/sys/dev/ic/cs4231reg.h +++ b/sys/dev/ic/cs4231reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: cs4231reg.h,v 1.6 1998/08/27 19:53:02 pk Exp $ */ +/* $NetBSD: cs4231reg.h,v 1.7 1998/08/27 20:05:11 pk Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -129,6 +129,8 @@ #define CS_IRQ_TI 0x40 /* Timer Interrupt */ #define CS_IRQ_RES 0x80 /* reserved */ +#define CS_I24_BITS "\20\1PU\2PO\3CO\4CU\5PI\6CI\7TI" + /* VERSION - register I25 */ #define CS_VERSION_NUMBER 0xe0 /* Version number: * 0x101 - 4231 rev. A