summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia_codec.c
diff options
context:
space:
mode:
authorJames Turner <jturner@cvs.openbsd.org>2015-04-25 11:37:25 +0000
committerJames Turner <jturner@cvs.openbsd.org>2015-04-25 11:37:25 +0000
commit0ac341851f23e8741cf2fee7b4dbc400baa29cb9 (patch)
treeb4f5c9717342cfb1f8000ce8495c9cabd6a09b90 /sys/dev/pci/azalia_codec.c
parent42f208ecc04cf6440525f861a8e584453096e7d8 (diff)
Add quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1.
ok deraadt@ jung@ ratchov@
Diffstat (limited to 'sys/dev/pci/azalia_codec.c')
-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;