summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjturner <jturner@openbsd.org>2015-04-25 11:37:24 +0000
committerjturner <jturner@openbsd.org>2015-04-25 11:37:24 +0000
commitc89b02f0dea3f2e65f496eda695e86616df75627 (patch)
treebdc0a26dc41ed2b628172e67953d72e3d2581c38
parentConvert clients list into a TAILQ. (diff)
downloadwireguard-openbsd-c89b02f0dea3f2e65f496eda695e86616df75627.tar.xz
wireguard-openbsd-c89b02f0dea3f2e65f496eda695e86616df75627.zip
Add quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1.
ok deraadt@ jung@ ratchov@
-rw-r--r--sys/dev/pci/azalia_codec.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index 5b5db65a226..ff99122f112 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.165 2014/12/10 14:18:11 jsg Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.166 2015/04/25 11:37:24 jturner Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -71,6 +71,13 @@ azalia_codec_init_vtbl(codec_t *this)
AZ_QRK_GPIO_UNMUTE_3;
}
break;
+ case 0x10134208:
+ this->name = "Cirrus Logic CS4208";
+ if (this->subid == 0x72708086) { /* APPLE_MBA6_1 */
+ this->qrks |= AZ_QRK_GPIO_UNMUTE_0 |
+ AZ_QRK_GPIO_UNMUTE_1;
+ }
+ break;
case 0x10ec0221:
this->name = "Realtek ALC221";
this->qrks |= AZ_QRK_WID_CDIN_1C | AZ_QRK_WID_BEEP_1D;