]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] mv643xx_eth: iounmap the correct SRAM buffer
authorDale Farnsworth <dale@farnsworth.org>
Mon, 16 Jan 2006 23:53:15 +0000 (16:53 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 17 Jan 2006 12:23:37 +0000 (07:23 -0500)
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
 mv643xx_eth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/mv643xx_eth.c

index e01b03c7615eb9e2ad76c6268381cd7db1cb94b0..f632323fbf0673e4a07679b979b59832ac23840b 100644 (file)
@@ -877,7 +877,7 @@ static int mv643xx_eth_real_open(struct net_device *dev)
                printk(KERN_ERR "%s: Freeing previously allocated TX queues...",
                                                        dev->name);
                if (mp->rx_sram_size)
-                       iounmap(mp->p_rx_desc_area);
+                       iounmap(mp->p_tx_desc_area);
                else
                        dma_free_coherent(NULL, mp->tx_desc_area_size,
                                        mp->p_tx_desc_area, mp->tx_desc_dma);