summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-12-26 06:56:37 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-12-26 06:56:37 +0000
commit11a0625a9e168c100d4ea0b1d9fafd2ae83e0dda (patch)
treea76f8ba62eefaffbdff7726d711210298bbc89a9 /sys/dev/pci
parent2eeabe91bab7209338952071d2d7b4844bec1567 (diff)
- recognize a few more realtek codecs
- beep and CD support for a few more realtek codecs (ALC268 verified by Alexey Suslikov, the others are quite similar based on datasheets) - "ALC662-GR" is a part number. "ALC662" is a codec identifier.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/azalia_codec.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 7b0ccd013b0..25e9d35229d 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.93 2008/12/25 22:09:51 jakemsr Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.94 2008/12/26 06:56:36 jakemsr Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -120,14 +120,26 @@ azalia_codec_init_vtbl(codec_t *this)
this->name = "Realtek ALC260";
this->mixer_init = azalia_alc260_mixer_init;
break;
+ case 0x10ec0262:
+ this->name = "Realtek ALC262";
+ this->init_widget = azalia_alc88x_init_widget;
+ break;
case 0x10ec0268:
this->name = "Realtek ALC268";
+ this->init_widget = azalia_alc88x_init_widget;
break;
case 0x10ec0269:
this->name = "Realtek ALC269";
break;
+ case 0x10ec0272:
+ this->name = "Realtek ALC272";
+ break;
case 0x10ec0662:
- this->name = "Realtek ALC662-GR";
+ this->name = "Realtek ALC662";
+ this->init_widget = azalia_alc88x_init_widget;
+ break;
+ case 0x10ec0663:
+ this->name = "Realtek ALC663";
break;
case 0x10ec0861:
this->name = "Realtek ALC861";