ref: 7bcf891899b562e2d32832d181b23367bd8440e6
parent: e5d6bcec8e687148bf0c70a3b1e3a9d0475b9a56
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 16 16:47:06 EST 2013
ether82598, ether82563: remove packblock() avoidance hack
--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -1014,7 +1014,6 @@
bp = ctlr->rb[rdh];
if((rd->status & Reop) && rd->errors == 0){bp->wp += rd->length;
- bp->lim = bp->wp; /* lie like a dog. avoid packblock. */
if(!(rd->status & Ixsm)){ctlr->ixsm++;
if(rd->status & Ipcs){--- a/sys/src/9/pc/ether82598.c
+++ b/sys/src/9/pc/ether82598.c
@@ -571,7 +571,6 @@
b = c->rb[rdh];
c->rb[rdh] = 0;
b->wp += r->length;
- b->lim = b->wp; /* lie like a dog */
if(!(r->status & Ixsm)){if(r->status & Ipcs)
b->flag |= Bipck;
--
⑨