From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ig0-f194.google.com ([209.85.213.194]) by pp; Mon Nov 17 00:34:51 EST 2014 Received: by mail-ig0-f194.google.com with SMTP id uq10so941343igb.9 for <9front@9front.org>; Sun, 16 Nov 2014 21:34:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IWaE+dJmAeKA3g20Jo7vcEI2GWZaZdo0flHyjzirBCE=; b=r7J144QHQF1tZDs5A28eSDFCmPIyTOSu7FGZY7A5pFa9by7nceX/z/sPxdDxEl29gF 1BbOHQSVjbrnM0dl14U7OZ4i6jV/u4ebYF4NU3yutfV9gWtlYHAFX+Nhg8CmNFzAcmJU jj0GDJFq/oJ0c87zVTLZJ7x0yr3ntlV3Xc7orvKJ7iSdtrlHe9tHONvNlNhvhvH68jWV NwhWl2VwysCkeS/M86O0NO7/F+eNelP/PdTC1cjzw5gUhMzsQpeqYfh1eQij+gFermK+ XyPlPcPegiq9W7vAC2b6tUp74sSVcMS/eS89O+JrAJCFTUMoqCuZUcDAx1Nag4khK6EO CpSg== MIME-Version: 1.0 X-Received: by 10.51.15.132 with SMTP id fo4mr23650820igd.36.1416202488498; Sun, 16 Nov 2014 21:34:48 -0800 (PST) Received: by 10.107.28.136 with HTTP; Sun, 16 Nov 2014 21:34:48 -0800 (PST) Date: Mon, 17 Nov 2014 06:34:48 +0100 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: cloud singleton hardware lifecycle manager Subject: audiohda.c: support for series 8 lynx-point From: qux To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 Without inlined patch (edited): % cat '#'A/audiostat cat: can't open #A/audiostat: no free devices (sysinfo w/o patch: http://sysinfo.9front.org/src/86/body) Based on OpenBSD driver: - /sys/dev/pci/azalia.c rev 1.209 - /sys/dev/pci/pcidevs rev 1.1689 - only tested on amd64; machine is an Acer V5-573G exact model: V5-573G-74518G1Takk diff -r 42f28e4e6db2 sys/src/9/pc/audiohda.c --- a/sys/src/9/pc/audiohda.c Mon Nov 17 00:53:02 2014 +0100 +++ b/sys/src/9/pc/audiohda.c Mon Nov 17 06:21:15 2014 +0100 @@ -1747,6 +1747,7 @@ case (0x8086 << 16) | 0x1c20: /* Intel PCH */ case (0x8086 << 16) | 0x1e20: /* Intel (Thinkpad x230t) */ case (0x8086 << 16) | 0x8c20: /* Intel 8 Series/C220 Series */ + case (0x8086 << 16) | 0x9c20: /* Intel 8 Series Lynx Point */ case (0x10de << 16) | 0x026c: /* NVidia MCP51 (untested) */ case (0x10de << 16) | 0x0371: /* NVidia MCP55 (untested) */ @@ -1865,6 +1866,7 @@ case 0x811b: /* SCH */ case 0x080a: case 0x8c20: + case 0x9c20: pcicfgw16(p, 0x78, pcicfgr16(p, 0x78) & ~0x800); } }