<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=509073913-27112008><FONT face=Arial color=#0000ff
size=2>Applied in 1776.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Leonid
Keller<BR><B>Sent:</B> Sunday, November 23, 2008 9:19 PM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Subject:</B> [ofw][patch][MLX4] reset upon
driver unload<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT size=2><FONT size=1><FONT size=2><FONT size=1>
<P><FONT face=Arial><FONT size=2>[MLX4] reset upon driver unload.<SPAN
class=234321719-23112008> [mlnx: 3546]</SPAN></FONT></FONT></P>
<P><FONT face=Arial size=2>The patch improves the behavior of mst (with
_pci_conf0, after mst stop &
start)</FONT></P></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Index:
hw/mlx4/kernel/bus/net/main.c<BR>===================================================================<BR>---
hw/mlx4/kernel/bus/net/main.c (revision 1765)<BR>+++
hw/mlx4/kernel/bus/net/main.c (working copy)<BR>@@ -1079,6 +1079,7
@@<BR> pci_disable_msix(pdev);<BR> #endif<BR> <BR>+ mlx4_reset(dev);<BR> mlx4_dbg(dev,
"MLX4_BUS: NET device (dev_id=%d) is REMOVED ! \n",
(int)pdev->dev_id);<BR> pdev->dev =
NULL;<BR> done:<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>