From: jturner Date: Sat, 25 Apr 2015 11:37:24 +0000 (+0000) Subject: Add quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c89b02f0dea3f2e65f496eda695e86616df75627;p=openbsd Add quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1. ok deraadt@ jung@ ratchov@ --- 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;