summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlandry <landry@openbsd.org>2014-11-17 16:34:51 +0000
committerlandry <landry@openbsd.org>2014-11-17 16:34:51 +0000
commitd4287429451fe52acef400fbccd13f2b28777fa2 (patch)
tree9ead1cbcc8255b288087dff539f15ac989d7993a
parentFurther juggle startup code, putting config file reading after forking (diff)
downloadwireguard-openbsd-d4287429451fe52acef400fbccd13f2b28777fa2.tar.xz
wireguard-openbsd-d4287429451fe52acef400fbccd13f2b28777fa2.zip
Add quirks for the "Realtek ALC885" found on MacMini3.1, unmutes the
internal speaker, line input and hp output. Tested on i386/amd64. hints/help & ok ratchov@
-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 046954a6a17..1fc20453a78 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.163 2014/07/13 23:10:23 deraadt Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.164 2014/11/17 16:34:51 landry Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -149,11 +149,13 @@ azalia_codec_init_vtbl(codec_t *this)
this->name = "Realtek ALC885";
this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;
if (this->subid == 0x00a1106b || /* APPLE_MB3 */
+ this->subid == 0xcb7910de || /* APPLE_MACMINI3_1 (line-in + hp) */
this->subid == 0x00a0106b || /* APPLE_MB3_1 */
this->subid == 0x00a3106b) { /* APPLE_MB4 */
this->qrks |= AZ_QRK_GPIO_UNMUTE_0;
}
if (this->subid == 0x00a1106b ||
+ this->subid == 0xcb7910de || /* APPLE_MACMINI3_1 (internal spkr) */
this->subid == 0x00a0106b)
this->qrks |= AZ_QRK_WID_OVREF50;
break;