summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-04 21:00:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-04 21:00:58 +0000
commit3b23fedfb6ee18eab6f7de88569471efb447d63c (patch)
treeff8fb323283a1128ce748ca44455a7fdc206e40e /sys/dev
parentb1aeef7064864404fb6b5f9ff4690611f7e7b3fc (diff)
fix recording; from jabaker@grail.cba.csuohio.edu
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ad1848reg.h2
-rw-r--r--sys/dev/isa/ad1848.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ad1848reg.h b/sys/dev/ic/ad1848reg.h
index fd8de8f3a1c..c306fa6f55e 100644
--- a/sys/dev/ic/ad1848reg.h
+++ b/sys/dev/ic/ad1848reg.h
@@ -104,7 +104,7 @@
#define CAPTURE_READY 0x20
#define CAPTURE_LEFT 0x40
/* cpright is not left */
-#define CAPTURE_UPPER 0x08
+#define CAPTURE_UPPER 0x80
/* cplower is not upper */
/* Input & Output regs bits */
diff --git a/sys/dev/isa/ad1848.c b/sys/dev/isa/ad1848.c
index 916eabd557b..eba59eaa410 100644
--- a/sys/dev/isa/ad1848.c
+++ b/sys/dev/isa/ad1848.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ad1848.c,v 1.5 1996/05/07 07:35:55 deraadt Exp $ */
+/* $OpenBSD: ad1848.c,v 1.6 1996/07/04 21:00:57 deraadt Exp $ */
/* $NetBSD: ad1848.c,v 1.10 1996/04/29 20:02:32 christos Exp $ */
/*
@@ -119,9 +119,9 @@ static int ad1848_init_values[] = {
0x19, /* Left DAC output Control */
0x19, /* Right DAC output Control */
/* Clock and Data Format */
- CLOCK_XTAL1|FMT_PCM8|AUTO_CAL_ENABLE,
+ CLOCK_XTAL1|FMT_PCM8,
/* Interface Config */
- SINGLE_DMA,
+ SINGLE_DMA|AUTO_CAL_ENABLE,
INTERRUPT_ENABLE, /* Pin control */
0x00, /* Test and Init */
0xca, /* Misc control */