[ofw][patch][MLX4] reset upon driver unload

Leonid Keller leonid at mellanox.co.il
Sun Nov 23 11:19:08 PST 2008


[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/20081123/ccb3763e/attachment.html>


More information about the ofw mailing list