projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86-64: Correct max number of CPUs in Kconfig
[powerpc.git]
/
drivers
/
net
/
e2100.c
diff --git
a/drivers/net/e2100.c
b/drivers/net/e2100.c
index
c62d9c6
..
b2b0a96
100644
(file)
--- a/
drivers/net/e2100.c
+++ b/
drivers/net/e2100.c
@@
-355,8
+355,7
@@
e21_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring
mem_on(ioaddr, shared_mem, (ring_offset>>8));
mem_on(ioaddr, shared_mem, (ring_offset>>8));
- /* Packet is always in one chunk -- we can copy + cksum. */
- eth_io_copy_and_sum(skb, ei_status.mem + (ring_offset & 0xff), count, 0);
+ memcpy_fromio(skb->data, ei_status.mem + (ring_offset & 0xff), count);
mem_off(ioaddr);
}
mem_off(ioaddr);
}