summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-12-23 10:33:11 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-12-23 10:33:11 +0000
commit8d87c6fafdb3a6da4e5ba7ad2217640f10961f5a (patch)
treeaa9c390f1bf20d2aecd61c08532e92128dd6a258
parenta651df387260dd9bd6db80265150da060a2f0efe (diff)
add gpio quirk for Dell e6400
-rw-r--r--sys/dev/pci/azalia_codec.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 10dcf7222b5..8a0c30bd5a3 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia_codec.c,v 1.89 2008/12/23 10:19:39 jakemsr Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.90 2008/12/23 10:33:10 jakemsr Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -65,6 +65,8 @@
#define SIGMATEL_STAC9205 0x838476a0
#define STAC9205_DELL_D630 0x01f91028
#define STAC9205_DELL_V1500 0x02281028
+#define IDT_92HD71B7 0x111d76b2
+#define IDT92HD71B7_DELL_E6400 0x02331028
int azalia_generic_codec_init_dacgroup(codec_t *);
int azalia_generic_codec_fnode(codec_t *, nid_t, int, int);
@@ -976,6 +978,10 @@ azalia_generic_mixer_pin_sense(codec_t *this)
azalia_gpio_unmute(this, 1);
}
+ if (this->vid == IDT_92HD71B7 && this->subid == IDT92HD71B7_DELL_E6400) {
+ azalia_gpio_unmute(this, 0);
+ }
+
return 0;
}