summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia_codec.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-02 04:23:36 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-02 04:23:36 +0000
commit156043cd032b89961b85034aea7c3b4bada5e344 (patch)
tree8e3c5282cbd7d73de04e447cad2416b5f06fc65c /sys/dev/pci/azalia_codec.c
parenta88a90b9a5ea5c157a9cdc6f399e1b9b7b8eadf5 (diff)
enable beep controls on ALC221 and ALC269 as well
seems to be required when tested here
Diffstat (limited to 'sys/dev/pci/azalia_codec.c')
-rw-r--r--sys/dev/pci/azalia_codec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 21ca1572aad..2e016563081 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.157 2014/01/02 03:05:20 jsg Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.158 2014/01/02 04:23:35 jsg Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -74,6 +74,7 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x10ec0221:
this->name = "Realtek ALC221";
+ this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;
break;
case 0x10ec0260:
this->name = "Realtek ALC260";
@@ -90,6 +91,7 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x10ec0269:
this->name = "Realtek ALC269";
+ this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;
break;
case 0x10ec0272:
this->name = "Realtek ALC272";