]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ac3200.c
driver core: refcounting fix
[linux-2.6-omap-h63xx.git] / drivers / net / ac3200.c
index 0dca8bb9d2c724254947964abd642bc39647fc17..644c408515df9b643823557ce7459b985164d2a7 100644 (file)
@@ -327,8 +327,7 @@ static void ac_block_input(struct net_device *dev, int count, struct sk_buff *sk
                memcpy_fromio(skb->data + semi_count,
                                ei_status.mem + TX_PAGES*256, count);
        } else {
-               /* Packet is in one chunk -- we can copy + cksum. */
-               eth_io_copy_and_sum(skb, start, count, 0);
+               memcpy_fromio(skb->data, start, count);
        }
 }
 
@@ -405,7 +404,7 @@ static void cleanup_card(struct net_device *dev)
        iounmap(ei_status.mem);
 }
 
-void
+void __exit
 cleanup_module(void)
 {
        int this_dev;