summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.h
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-03-21 15:02:32 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-03-21 15:02:32 +0000
commitb74f5ec5b5c2cb5fff825294cb3ab7fee928af78 (patch)
treecdccfab4afdb879ef9d0942c2cf90b3502a16068 /sys/dev/pci/azalia.h
parent566af0529b8d2b4dce7c97bd8fe0ff07a63bf0ea (diff)
deal with the possibility of two internal speaker pins, like on
macbooks that have a "normal" pair of stereo speakers as well as subwoofer(s). problem reported and fix tested by Ted Roby.
Diffstat (limited to 'sys/dev/pci/azalia.h')
-rw-r--r--sys/dev/pci/azalia.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia.h b/sys/dev/pci/azalia.h
index f7df5eb68d3..c8f4edfb901 100644
--- a/sys/dev/pci/azalia.h
+++ b/sys/dev/pci/azalia.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.h,v 1.58 2009/12/22 08:48:14 jakemsr Exp $ */
+/* $OpenBSD: azalia.h,v 1.59 2010/03/21 15:02:31 jakemsr Exp $ */
/* $NetBSD: azalia.h,v 1.6 2006/01/16 14:15:26 kent Exp $ */
/*-
@@ -691,7 +691,8 @@ typedef struct codec_t {
nid_t mic; /* fixed (internal) mic */
nid_t mic_adc;
nid_t speaker; /* fixed (internal) speaker */
- nid_t spkr_dac;
+ nid_t speaker2; /* 2nd fixed (internal) speaker */
+ nid_t spkr_dac; /* default DAC for speaker and speaker2 */
nid_t input_mixer;
nid_t fhp; /* front headphone jack */
nid_t fhp_dac;