summaryrefslogtreecommitdiff
path: root/sys/dev/pci/envy.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-10-30 21:16:59 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-10-30 21:16:59 +0000
commit520e81fae04c69dc12371c056654dfd3cca8d2f9 (patch)
treea29dfe0d1574c61d0081ea0605dcf3c56d34272e /sys/dev/pci/envy.c
parentad0b32f9e90ddafc1a8eb1bc16b0e155afa0d7ca (diff)
tweak gpio pins of julia cards to select the correct multiplier for
the ADC frequency. Fixes high frequencies being removed (probably ADC running at half the frequency and samples being duplicated).
Diffstat (limited to 'sys/dev/pci/envy.c')
-rw-r--r--sys/dev/pci/envy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/envy.c b/sys/dev/pci/envy.c
index b05a3704c1f..40a61f42770 100644
--- a/sys/dev/pci/envy.c
+++ b/sys/dev/pci/envy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: envy.c,v 1.47 2010/10/08 19:26:32 ratchov Exp $ */
+/* $OpenBSD: envy.c,v 1.48 2010/10/30 21:16:58 ratchov Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
@@ -242,8 +242,8 @@ static unsigned char julia_eeprom[ENVY_EEPROM_MAXSZ] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x20, 0x80, 0xf8, 0xc3,
0x9f, 0xff, 0x7f,
- 0x9f, 0xff, 0x7f,
- 0x60, 0x00, 0x00
+ 0x90, 0xff, 0x7f,
+ 0x66, 0x00, 0x00
};
struct envy_codec ak4524_dac = {