From: jsg Date: Thu, 2 Jan 2014 03:05:20 +0000 (+0000) Subject: enable beep and CD controls on ALC282 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=51c0142a96df72953c17c0ced55ff0b3397b0331;p=openbsd enable beep and CD controls on ALC282 from and tested by Mark Rowland --- 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 */