From: Dale Farnsworth Date: Mon, 16 Jan 2006 23:53:15 +0000 (-0700) Subject: [PATCH] mv643xx_eth: iounmap the correct SRAM buffer X-Git-Tag: v2.6.16-rc2~366^2~61 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dd09b1de08b28ccfb130ca97d617dc3283165d22;p=linux-2.6-omap-h63xx.git [PATCH] mv643xx_eth: iounmap the correct SRAM buffer Signed-off-by: Dale Farnsworth mv643xx_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index e01b03c7615..f632323fbf0 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) 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);