summaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2006-01-16 16:53:15 -0700
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:23:37 -0500
commitdd09b1de08b28ccfb130ca97d617dc3283165d22 (patch)
treede89ba2464dc96d991e982182d4db6c3ce872c70 /drivers/net/mv643xx_eth.c
parentf7ea333765438232ac346a2f23cfec3e2012758f (diff)
downloadop-kernel-dev-dd09b1de08b28ccfb130ca97d617dc3283165d22.zip
op-kernel-dev-dd09b1de08b28ccfb130ca97d617dc3283165d22.tar.gz
[PATCH] mv643xx_eth: iounmap the correct SRAM buffer
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>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-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 e01b03c..f632323 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);
OpenPOWER on IntegriCloud