summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2010-10-30 21:16:58 +0000
committerratchov <ratchov@openbsd.org>2010-10-30 21:16:58 +0000
commitc57825766e7effabacf3d205ba75c818d3eb1770 (patch)
tree5064a8c8b4ba726c4b023ee47ee3a5fcb83df03c
parentin otus, tx() can return on error without releasing the node (diff)
downloadwireguard-openbsd-c57825766e7effabacf3d205ba75c818d3eb1770.tar.xz
wireguard-openbsd-c57825766e7effabacf3d205ba75c818d3eb1770.zip
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).
-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 = {