git: 9front

Download patch

ref: ee72951f0594032b1d6f9856c9ac2abdb8220c66
parent: d3a16976532d5d6a8b16da11eaec8385b2552569
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Aug 29 15:37:26 EDT 2017

audiohda: Intel Sunrise Point-H support (thanks sam-d)

--- a/sys/src/9/pc/audiohda.c
+++ b/sys/src/9/pc/audiohda.c
@@ -1749,6 +1749,7 @@
 		case (0x8086 << 16) | 0x8c20:	/* Intel 8 Series/C220 Series */
 		case (0x8086 << 16) | 0x9c20:	/* Intel 8 Series Lynx Point */
 		case (0x8086 << 16) | 0x9ca0:	/* Intel Wildcat Point */
+		case (0x8086 << 16) | 0xa170:   /* Intel Sunrise Point-H */
 
 		case (0x10de << 16) | 0x026c:	/* NVidia MCP51 (untested) */
 		case (0x10de << 16) | 0x0371:	/* NVidia MCP55 (untested) */
@@ -1871,6 +1872,7 @@
 		case 0x8c20:
 		case 0x9c20:
 		case 0x9ca0:
+		case 0xa170:
 			pcicfgw16(p, 0x78, pcicfgr16(p, 0x78) & ~0x800);
 		}
 	}
--