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
This commit is contained in:
parent
3fe9730645
commit
2f884a5116
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue