summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-04-27 21:55:16 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-04-27 21:55:16 +0200
commit2f884a511663d8666770c779beba9a7661b3499a (patch)
treed1e87266510cecfe019ed0dff23215401528e345 /sys/src
parent3fe9730645df15f18689be26b842c06f60e40fae (diff)
ether8169: fix thinkpad A485 ethernet (thanks mischief)
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
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/9/pc/ether8169.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/pc/ether8169.c b/sys/src/9/pc/ether8169.c
index 28172887d..1198b8396 100644
--- a/sys/src/9/pc/ether8169.c
+++ b/sys/src/9/pc/ether8169.c
@@ -726,6 +726,7 @@ rtl8169init(Ether* edev)
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;