* ether8169: fix Macv42 receive
@ 2019-04-27 19:34 Nick Owens
0 siblings, 0 replies; only message in thread
From: Nick Owens @ 2019-04-27 19:34 UTC (permalink / raw)
To: 9front
[-- 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-04-27 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-27 19:34 ether8169: fix Macv42 receive Nick Owens
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).