summaryrefslogtreecommitdiff
path: root/sys/src/9/ppc
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/ppc
parenta2e8246ffc12660f8628266e73aae74b52bd86d8 (diff)
devether: mux bridges, portable netconsole
Diffstat (limited to 'sys/src/9/ppc')
-rw-r--r--sys/src/9/ppc/etherfcc.c2
-rw-r--r--sys/src/9/ppc/ethersaturn.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/ppc/etherfcc.c b/sys/src/9/ppc/etherfcc.c
index ca254bf45..9628db16d 100644
--- a/sys/src/9/ppc/etherfcc.c
+++ b/sys/src/9/ppc/etherfcc.c
@@ -367,7 +367,7 @@ interrupt(Ureg*, void *arg)
dczap(b->rp, len);
if(nb = iallocb(Bufsize)){
b->wp += len;
- etheriq(ether, b, 1);
+ etheriq(ether, b);
b = nb;
b->rp = (uchar*)(((ulong)b->rp + CACHELINESZ-1) & ~(CACHELINESZ-1));
b->wp = b->rp;
diff --git a/sys/src/9/ppc/ethersaturn.c b/sys/src/9/ppc/ethersaturn.c
index a439b4215..9c9a6a966 100644
--- a/sys/src/9/ppc/ethersaturn.c
+++ b/sys/src/9/ppc/ethersaturn.c
@@ -176,7 +176,7 @@ interrupt(Ureg*, void*arg)
memmove(b->wp, pkt, len+sizeof(ushort));
b->rp += sizeof(ushort);
b->wp = b->rp + len;
- etheriq(ether, b, 1);
+ etheriq(ether, b);
}else
ether->soverflows++;
rx=*ersr&Ersr_rxfpmask;