summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia_codec.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-08 04:24:48 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-08 04:24:48 +0000
commit6001c5f87c14c4bd16e676a6f6c4b1ff18eab1d1 (patch)
tree13dfd64a1cf59edadf61d52928d06dab09ac889c /sys/dev/pci/azalia_codec.c
parenta5f5f5134b722ab536b9ff75bfa4f9b212cfb60a (diff)
support for 8ch playback with STAC9221D codec.
From NetBSD
Diffstat (limited to 'sys/dev/pci/azalia_codec.c')
-rw-r--r--sys/dev/pci/azalia_codec.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index ffbc50996eb..dce0c94a03e 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.2 2006/05/08 03:53:57 brad Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.3 2006/05/08 04:24:47 brad Exp $ */
/* $NetBSD: azalia_codec.c,v 1.3 2005/09/29 04:14:03 kent Exp $ */
/*-
@@ -79,6 +79,11 @@ azalia_codec_init_vtbl(codec_t *this, uint32_t vid)
case 0x83847680:
this->name = "Sigmatel STAC9221";
this->init_dacgroup = stac9221_init_dacgroup;
+ break;
+ case 0x83847683:
+ this->name = "Sigmatel STAC9221D";
+ this->init_dacgroup = stac9221_init_dacgroup;
+ break;
default:
this->name = NULL;
this->init_dacgroup = azalia_codec_init_dacgroup;
@@ -360,7 +365,7 @@ alc882_init_widget(const codec_t *this, widget_t *w, nid_t nid)
}
/* ----------------------------------------------------------------
- * Sigmatel STAC9221
+ * Sigmatel STAC9221 and STAC9221D
* ---------------------------------------------------------------- */
static int