summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/azalia.h')
-rw-r--r--sys/dev/pci/azalia.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.h b/sys/dev/pci/azalia.h
index 71f49443e85..13c69024aa0 100644
--- a/sys/dev/pci/azalia.h
+++ b/sys/dev/pci/azalia.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.h,v 1.26 2008/11/30 08:36:57 jakemsr Exp $ */
+/* $OpenBSD: azalia.h,v 1.27 2008/12/21 20:21:24 jakemsr Exp $ */
/* $NetBSD: azalia.h,v 1.6 2006/01/16 14:15:26 kent Exp $ */
/*-
@@ -478,6 +478,10 @@
#define HDA_MAX_CHANNELS 16
#define HDA_MAX_SENSE_PINS 16
+#define AZ_CLASS_INPUT 0
+#define AZ_CLASS_OUTPUT 1
+#define AZ_CLASS_RECORD 2
+
/* memory-mapped types */
typedef struct {
uint32_t low;
@@ -518,6 +522,7 @@ typedef struct {
int enable;
uint32_t widgetcap;
int type; /* = bit20-24 of widgetcap */
+ int mixer_class;
int nconnections;
nid_t *connections;
int selected;