shithub: riscv

Download patch

ref: b41bd1b007f497c8a3ceccdaae877634727fed2d
parent: 30ea7ad58affeea1a0df11cb423eee10161fa9f5
author: cinap_lenrek <[email protected]>
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);
 		}
 	}