lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1266865621-28955-3-git-send-email-gfilip@ee.ethz.ch>
Date:	Mon, 22 Feb 2010 20:06:59 +0100
From:	gfilip@...ethz.ch
To:	netdev@...r.kernel.org
Cc:	glikely@...retlab.ca, Filip Gospodinov <gfilip@...ethz.ch>
Subject: [PATCH 3/5] temac: dma deinit

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@...ethz.ch>
---
 drivers/net/ll_temac_main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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;
-- 
1.6.4.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ