]> Pileus Git - ~andy/linux/blobdiff - drivers/net/es3210.c
[BNX2]: Enable DMA on 5709.
[~andy/linux] / drivers / net / es3210.c
index fd7b32a24ea4f33d9cf1461daff5433b2fcc5a36..822e5bfd1a716836b2e7d125dcdf944b5a524810 100644 (file)
@@ -375,7 +375,7 @@ static void es_block_input(struct net_device *dev, int count, struct sk_buff *sk
                memcpy_fromio(skb->data + semi_count, ei_status.mem, count);
        } else {
                /* Packet is in one chunk. */
-               eth_io_copy_and_sum(skb, xfer_start, count, 0);
+               memcpy_fromio(skb->data, xfer_start, count);
        }
 }
 
@@ -455,7 +455,7 @@ static void cleanup_card(struct net_device *dev)
        iounmap(ei_status.mem);
 }
 
-void
+void __exit
 cleanup_module(void)
 {
        int this_dev;