summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia_codec.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-02 03:05:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-02 03:05:21 +0000
commita88a90b9a5ea5c157a9cdc6f399e1b9b7b8eadf5 (patch)
treee6bcb19b115fd167b14559c6f468d74ed6117bc4 /sys/dev/pci/azalia_codec.c
parent34db0aedc65a0471d4f426c0824f48a300ce615d (diff)
enable beep and CD controls on ALC282
from and tested by Mark Rowland
Diffstat (limited to 'sys/dev/pci/azalia_codec.c')
-rw-r--r--sys/dev/pci/azalia_codec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 1a3b702e249..21ca1572aad 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.156 2013/11/09 05:53:20 jsg Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.157 2014/01/02 03:05:20 jsg Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -94,6 +94,10 @@ azalia_codec_init_vtbl(codec_t *this)
case 0x10ec0272:
this->name = "Realtek ALC272";
break;
+ case 0x10ec0282:
+ this->name = "Realtek ALC282";
+ this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;
+ break;
case 0x10ec0660:
this->name = "Realtek ALC660";
if (this->subid == 0x13391043) { /* ASUS_G2K */