diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2006-01-16 18:53:15 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 07:23:37 -0500 |
commit | dd09b1de08b28ccfb130ca97d617dc3283165d22 (patch) | |
tree | de89ba2464dc96d991e982182d4db6c3ce872c70 /drivers/net/mv643xx_eth.c | |
parent | f7ea333765438232ac346a2f23cfec3e2012758f (diff) |
[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.c | 2 |
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); |