diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-01-29 01:41:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-01-29 01:41:54 +0000 |
commit | f969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch) | |
tree | b3530d803df59d726afaabebc6626987dee1ca05 /drivers/net/lne390.c | |
parent | a10ce7ef2066b455d69187643ddf2073bfc4db24 (diff) |
Merge with 2.3.27.
Diffstat (limited to 'drivers/net/lne390.c')
-rw-r--r-- | drivers/net/lne390.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/lne390.c b/drivers/net/lne390.c index 5f99b56d9..2700129c2 100644 --- a/drivers/net/lne390.c +++ b/drivers/net/lne390.c @@ -316,7 +316,7 @@ static void lne390_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) { unsigned long hdr_start = dev->mem_start + ((ring_page - LNE390_START_PG)<<8); - memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); + isa_memcpy_fromio(hdr, hdr_start, sizeof(struct e8390_pkt_hdr)); hdr->count = (hdr->count + 3) & ~3; /* Round up allocation. */ } @@ -334,12 +334,12 @@ static void lne390_block_input(struct net_device *dev, int count, struct sk_buff if (xfer_start + count > dev->rmem_end) { /* Packet wraps over end of ring buffer. */ int semi_count = dev->rmem_end - xfer_start; - memcpy_fromio(skb->data, xfer_start, semi_count); + isa_memcpy_fromio(skb->data, xfer_start, semi_count); count -= semi_count; - memcpy_fromio(skb->data + semi_count, dev->rmem_start, count); + isa_memcpy_fromio(skb->data + semi_count, dev->rmem_start, count); } else { /* Packet is in one chunk. */ - memcpy_fromio(skb->data, xfer_start, count); + isa_memcpy_fromio(skb->data, xfer_start, count); } } @@ -349,7 +349,7 @@ static void lne390_block_output(struct net_device *dev, int count, unsigned long shmem = dev->mem_start + ((start_page - LNE390_START_PG)<<8); count = (count + 3) & ~3; /* Round up to doubleword */ - memcpy_toio(shmem, buf, count); + isa_memcpy_toio(shmem, buf, count); } static int lne390_open(struct net_device *dev) |