From: Nick Owens <mischief@offblast.org>
To: 9front@9front.org
Subject: ether8169: fix Macv42 receive
Date: Sat, 27 Apr 2019 12:34:21 -0700 [thread overview]
Message-ID: <CAH_zEu5o1Z1eu=+ffuCCFdLB8ArewD-q2AjdZbmGgQi2sYAJdg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
attached is a patch to fix receive in the 8169 chip on my thinkpad
A485. i'm not sure why, but the same thing was done in 3d56a0fc4645
for Macv45.
nick
[-- Attachment #2: ether8169.patch --]
[-- Type: text/x-patch, Size: 384 bytes --]
diff -r 8eca5306b6d9 sys/src/9/pc/ether8169.c
--- a/sys/src/9/pc/ether8169.c Thu Apr 25 19:44:16 2019 +0200
+++ b/sys/src/9/pc/ether8169.c Sat Apr 27 12:32:00 2019 -0700
@@ -726,6 +726,7 @@
csr32w(ctlr, Tcr, Ifg1|Ifg0|Mtxdmaunlimited);
ctlr->tcr = csr32r(ctlr, Tcr);
switch(ctlr->macv){
+ case Macv42:
case Macv45:
ctlr->rcr = Rxfth256|Mrxdmaunlimited|Ab|Am|Apm;
break;
reply other threads:[~2019-04-27 19:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAH_zEu5o1Z1eu=+ffuCCFdLB8ArewD-q2AjdZbmGgQi2sYAJdg@mail.gmail.com' \
--to=mischief@offblast.org \
--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).