summaryrefslogtreecommitdiffstats
path: root/drivers/net/ewrk3.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
commitf969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch)
treeb3530d803df59d726afaabebc6626987dee1ca05 /drivers/net/ewrk3.c
parenta10ce7ef2066b455d69187643ddf2073bfc4db24 (diff)
Merge with 2.3.27.
Diffstat (limited to 'drivers/net/ewrk3.c')
-rw-r--r--drivers/net/ewrk3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ewrk3.c b/drivers/net/ewrk3.c
index 40e2ec507..eecbb9a56 100644
--- a/drivers/net/ewrk3.c
+++ b/drivers/net/ewrk3.c
@@ -829,16 +829,16 @@ static int ewrk3_queue_pkt(struct sk_buff *skb, struct net_device *dev)
writeb(0x04, (char *) buf); /* index byte */
buf += 1;
writeb(0x00, (char *) (buf + skb->len)); /* Write the XCT flag */
- memcpy_toio(buf, skb->data, PRELOAD); /* Write PRELOAD bytes */
+ isa_memcpy_toio(buf, skb->data, PRELOAD); /* Write PRELOAD bytes */
outb(page, EWRK3_TQ); /* Start sending pkt */
- memcpy_toio(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
+ isa_memcpy_toio(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
writeb(0xff, (char *) (buf + skb->len)); /* Write the XCT flag */
} else {
writeb((char) ((skb->len >> 8) & 0xff), (char *) buf);
buf += 1;
writeb(0x04, (char *) buf); /* index byte */
buf += 1;
- memcpy_toio((char *) buf, skb->data, skb->len); /* Write data bytes */
+ isa_memcpy_toio(buf, skb->data, skb->len); /* Write data bytes */
outb(page, EWRK3_TQ); /* Start sending pkt */
}
}
@@ -1012,7 +1012,7 @@ static int ewrk3_rx(struct net_device *dev)
*p++ = inb(EWRK3_DATA);
}
} else {
- memcpy_fromio(p, buf, pkt_len);
+ isa_memcpy_fromio(p, buf, pkt_len);
}
/*
@@ -1737,7 +1737,7 @@ static int ewrk3_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
}
} else {
outb(0, EWRK3_MPR);
- memcpy_fromio(tmp.addr, (char *) (lp->shmem_base + PAGE0_HTE), (HASH_TABLE_LEN >> 3));
+ isa_memcpy_fromio(tmp.addr, lp->shmem_base + PAGE0_HTE, (HASH_TABLE_LEN >> 3));
}
ioc->len = (HASH_TABLE_LEN >> 3);
if (copy_to_user(ioc->data, tmp.addr, ioc->len)) {