summaryrefslogtreecommitdiff
path: root/sys/dev/pci/envyreg.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-05-08 17:52:19 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-05-08 17:52:19 +0000
commitaefb840fc1791a810a96795359325f54934cd72f (patch)
treeec55373cfaddb6e5a0bbffa162982c3744d22be5 /sys/dev/pci/envyreg.h
parent786d7b987c829d864e7037901e5d07af57eff75b (diff)
add support HT mixer knobs (ie routing control). Allow monitoring
analog inputs
Diffstat (limited to 'sys/dev/pci/envyreg.h')
-rw-r--r--sys/dev/pci/envyreg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/envyreg.h b/sys/dev/pci/envyreg.h
index 81516f6682e..e70ff18603a 100644
--- a/sys/dev/pci/envyreg.h
+++ b/sys/dev/pci/envyreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: envyreg.h,v 1.8 2009/05/08 16:53:45 ratchov Exp $ */
+/* $OpenBSD: envyreg.h,v 1.9 2009/05/08 17:52:18 ratchov Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
@@ -145,6 +145,14 @@
#define ENVY_MT_INSEL_MASK ((1 << ENVY_MT_INSEL_BITS) - 1)
/*
+ * HT routing control
+ */
+#define ENVY_MT_HTSRC 0x2c
+#define ENVY_MT_HTSRC_DMA 0x00
+#define ENVY_MT_HTSRC_LINE 0x02
+#define ENVY_MT_HTSRC_SPD 0x04
+#define ENVY_MT_HTSRC_MASK 0x07
+/*
* AK4524 control registers
*/
#define AK4524_PWR 0x00