[ofw][patch][MLX4] reset upon driver unload
Leonid Keller
leonid at mellanox.co.il
Thu Nov 27 05:39:23 PST 2008
Applied in 1776.
________________________________
From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Leonid Keller
Sent: Sunday, November 23, 2008 9:19 PM
To: ofw at lists.openfabrics.org
Subject: [ofw][patch][MLX4] reset upon driver unload
[MLX4] reset upon driver unload. [mlnx: 3546]
The patch improves the behavior of mst (with _pci_conf0, after
mst stop & start)
Index: hw/mlx4/kernel/bus/net/main.c
===================================================================
--- hw/mlx4/kernel/bus/net/main.c (revision 1765)
+++ hw/mlx4/kernel/bus/net/main.c (working copy)
@@ -1079,6 +1079,7 @@
pci_disable_msix(pdev);
#endif
+ mlx4_reset(dev);
mlx4_dbg(dev, "MLX4_BUS: NET device (dev_id=%d) is REMOVED !
\n", (int)pdev->dev_id);
pdev->dev = NULL;
done:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081127/a4764ec8/attachment.html>
More information about the ofw
mailing list