summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/etherelnk3.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-02-18 19:56:01 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2018-02-18 19:56:01 +0100
commit729c9c39d9156674f61d086e3306bcc04ce8dfc5 (patch)
tree61be8ec4270d88b6aa12c802e05742c225d10455 /sys/src/9/pc/etherelnk3.c
parenta2e8246ffc12660f8628266e73aae74b52bd86d8 (diff)
devether: mux bridges, portable netconsole
Diffstat (limited to 'sys/src/9/pc/etherelnk3.c')
-rw-r--r--sys/src/9/pc/etherelnk3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/pc/etherelnk3.c b/sys/src/9/pc/etherelnk3.c
index 46cd99269..b71dd61ad 100644
--- a/sys/src/9/pc/etherelnk3.c
+++ b/sys/src/9/pc/etherelnk3.c
@@ -834,7 +834,7 @@ receive905(Ether* ether)
else if(bp = iallocb(sizeof(Etherpkt)+4)){
len = pd->control & rxBytes;
pd->bp->wp = pd->bp->rp+len;
- etheriq(ether, pd->bp, 1);
+ etheriq(ether, pd->bp);
pd->bp = bp;
pd->addr = PADDR(bp->rp);
coherence();
@@ -944,7 +944,7 @@ receive(Ether* ether)
if(ctlr->busmaster == 1)
ctlr->rbp->wp = startdma(ether, PADDR(bp->rp));
- etheriq(ether, ctlr->rbp, 1);
+ etheriq(ether, ctlr->rbp);
ctlr->rbp = bp;
}
}