summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2007-10-30 19:36:10 +0000
committerjoerg <joerg@NetBSD.org>2007-10-30 19:36:10 +0000
commit2cdafd23af2d3b1d471f8d750977a44aa00e4fcf (patch)
treeac24ec0db30e26e0f1802b072c9fef573f8f7012 /sys/dev
parent29353f93e21f780bc0bcd6f0b0e746c571f716ef (diff)
Add another Dell machine where the head phone event needs to be handled.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/azalia_codec.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 550df3291ca..b0ef760bcf0 100644
--- a/sys/dev/pci/azalia_codec.c
+++ b/sys/dev/pci/azalia_codec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: azalia_codec.c,v 1.45 2007/09/22 15:14:33 xtraeme Exp $ */
+/* $NetBSD: azalia_codec.c,v 1.46 2007/10/30 19:36:10 joerg Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.45 2007/09/22 15:14:33 xtraeme Exp $");
+__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.46 2007/10/30 19:36:10 joerg Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -3176,12 +3176,14 @@ stac9200_mixer_init(codec_t *this)
#define STAC9200_DELL_INSPIRON6400_ID 0x01bd1028
#define STAC9200_DELL_INSPIRON9400_ID 0x01cd1028
#define STAC9200_DELL_640M_ID 0x01d81028
+#define STAC9200_DELL_LATITUDE_D430_ID 0x02011028
#define STAC9200_EVENT_HP 0
#define STAC9200_NID_HP 0x0d
#define STAC9200_NID_SPEAKER 0x0e
if (this->subid == STAC9200_DELL_INSPIRON6400_ID ||
this->subid == STAC9200_DELL_INSPIRON9400_ID ||
- this->subid == STAC9200_DELL_640M_ID) {
+ this->subid == STAC9200_DELL_640M_ID ||
+ this->subid == STAC9200_DELL_LATITUDE_D430_ID) {
/* Does every DELL model have the same pin configuration?
* I'm not sure. */