9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qux <qu7uux@gmail.com>
To: 9front@9front.org
Subject: audiohda.c: support for series 8 lynx-point
Date: Mon, 17 Nov 2014 06:34:48 +0100	[thread overview]
Message-ID: <CAAGZaiKoFEWU0ah_O4uSWAwdA1jaTQrP7t5d3G4_-CD5rhnPPw@mail.gmail.com> (raw)

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);
 		}
 	}


             reply	other threads:[~2014-11-17  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17  5:34 qux [this message]
2014-11-17  9:12 ` [9front] " cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAGZaiKoFEWU0ah_O4uSWAwdA1jaTQrP7t5d3G4_-CD5rhnPPw@mail.gmail.com \
    --to=qu7uux@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).