Message ID | 1266865621-28955-3-git-send-email-gfilip@ee.ethz.ch |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ll_temac_main.c index 0d4b1c5..2e7421c 100644 --- a/drivers/net/ll_temac_main.c +++ b/drivers/net/ll_temac_main.c @@ -946,6 +946,9 @@ static int __devexit temac_of_remove(struct of_device *op) if (lp->phy_node) of_node_put(lp->phy_node); lp->phy_node = NULL; +#ifdef CONFIG_XILINX_VIRTEX_4_FX + iounmap((void *) lp->dma_regs); +#endif dev_set_drvdata(&op->dev, NULL); free_netdev(ndev); return 0;
This patch belongs to a set of patches which extends the temac driver to support Virtex4-FX. It was successfully tested on the ML403 evaluation board. Signed-off-by: Filip Gospodinov <gfilip@ee.ethz.ch> --- drivers/net/ll_temac_main.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)