summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-12-16 21:47:06 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-12-16 21:47:06 +0100
commitf3f89e03ed0b8e48769596241939adf929bd345e (patch)
tree4a8a3bf5951e303339d655888f22e62cba3f5859
parentce5f9d8210ff630d24bfc5f392b96964c891673e (diff)
ether82598, ether82563: remove packblock() avoidance hack
-rw-r--r--sys/src/9/pc/ether82563.c1
-rw-r--r--sys/src/9/pc/ether82598.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/9/pc/ether82563.c b/sys/src/9/pc/ether82563.c
index 34a18d97f..4e8df5452 100644
--- a/sys/src/9/pc/ether82563.c
+++ b/sys/src/9/pc/ether82563.c
@@ -1014,7 +1014,6 @@ i82563rproc(void *arg)
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){
diff --git a/sys/src/9/pc/ether82598.c b/sys/src/9/pc/ether82598.c
index b786eced7..5adb88ec8 100644
--- a/sys/src/9/pc/ether82598.c
+++ b/sys/src/9/pc/ether82598.c
@@ -571,7 +571,6 @@ loop1:
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;