aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/mv643xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index e01b03c7615e..f632323fbf06 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -877,7 +877,7 @@ static int mv643xx_eth_real_open(struct net_device *dev)
877 printk(KERN_ERR "%s: Freeing previously allocated TX queues...", 877 printk(KERN_ERR "%s: Freeing previously allocated TX queues...",
878 dev->name); 878 dev->name);
879 if (mp->rx_sram_size) 879 if (mp->rx_sram_size)
880 iounmap(mp->p_rx_desc_area); 880 iounmap(mp->p_tx_desc_area);
881 else 881 else
882 dma_free_coherent(NULL, mp->tx_desc_area_size, 882 dma_free_coherent(NULL, mp->tx_desc_area_size,
883 mp->p_tx_desc_area, mp->tx_desc_dma); 883 mp->p_tx_desc_area, mp->tx_desc_dma);