<!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=929073713-27112008><FONT face=Arial color=#0000ff
size=2>Applied in 1774.</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 8:41 PM<BR><B>To:</B>
ofw@lists.openfabrics.org<BR><B>Subject:</B> [ofw][patch][IBBUS] fix ASSERT
<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<P><FONT face=Arial><FONT size=2>[IBBUS] PnP: fix ASSERT<SPAN
class=016303718-23112008> in PnP handling</SPAN><SPAN
class=016303718-23112008>. [mlnx: 3512]</SPAN></FONT></FONT></P></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Index:
complib/kernel/cl_pnp_po.c<BR>===================================================================<BR>---
complib/kernel/cl_pnp_po.c (revision 1765)<BR>+++
complib/kernel/cl_pnp_po.c (working copy)<BR>@@ -653,7 +653,10
@@<BR> ASSERT( p_ext->pnp_state == NotStarted
||<BR> p_ext->pnp_state == Started
||<BR> p_ext->pnp_state == RemovePending
||<BR>- p_ext->pnp_state == SurpriseRemoved
);<BR>+ p_ext->pnp_state == SurpriseRemoved
||<BR>+ // it can be <SPAN class=016303718-23112008>in
</SPAN>this state if IRP_MN_START_DEVICE failed<BR>+ // pnpdtest
/rebalance FailRestart creates this
situation<BR>+ p_ext->pnp_state ==
Stopped);<BR> <BR> /* Set the device state.
*/<BR> cl_set_pnp_state( p_ext, Deleted
);<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>