X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fe2100.c;h=b2b0a96218ca9a339e11500f7da6c2a9cc732a7a;hb=5c15bdec5c38f4ccf73ef2585fc80a6164de9554;hp=d39e8480ca5652537fd68da4c526eb20ca92e236;hpb=f50e5ea14baa321c5f0ff71707a83b02bf5b9398;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/e2100.c b/drivers/net/e2100.c index d39e8480ca5..b2b0a96218c 100644 --- 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)); - /* 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); } @@ -463,7 +462,7 @@ static void cleanup_card(struct net_device *dev) release_region(dev->base_addr, E21_IO_EXTENT); } -void +void __exit cleanup_module(void) { int this_dev;