]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/3c503.c
[PATCH] autofs4: fix another race between mount and expire
[linux-2.6-omap-h63xx.git] / drivers / net / 3c503.c
index a34b2206132d2fb6d716419eddc0b20ee50b8a8f..bc7e906571d38ec85ccad529f5858e403f80cbd1 100644 (file)
@@ -600,8 +600,7 @@ el2_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring
            count -= semi_count;
            memcpy_fromio(skb->data + semi_count, base + ei_status.priv, count);
        } else {
-               /* Packet is in one chunk -- we can copy + cksum. */
-               eth_io_copy_and_sum(skb, base + ring_offset, count, 0);
+               memcpy_fromio(skb->data, base + ring_offset, count);
        }
        return;
     }
@@ -726,7 +725,7 @@ static void cleanup_card(struct net_device *dev)
                iounmap(ei_status.mem);
 }
 
-void
+void __exit
 cleanup_module(void)
 {
        int this_dev;