<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial>Index: 
Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c<BR>===================================================================<BR>--- 
Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c (revision 4506)<BR>+++ 
Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c (revision 4507)<BR>@@ -302,19 
+302,16 @@<BR>  for(;;){<BR> <BR>   /* before 
start polling */<BR>-  DbgPrint("Before 
polling.\n");<BR>   for (;;) {<BR>    status 
= KeWaitForMultipleObjects( 2, wait_objects, 
<BR>               
WaitAny, Executive, KernelMode, FALSE, NULL, NULL 
);<BR> <BR>    if ( status == STATUS_WAIT_0 ){/* thread 
stopped */<BR>-    DbgPrint("Signaled to stop 
polling.\n");<BR>     break;  <BR>    }<BR> <BR>    /* 
start polling */<BR>    if ( status == STATUS_WAIT_1 
){<BR>-    DbgPrint("Signaled to start 
polling.\n");<BR>     break;  <BR>    }<BR> <BR>@@ 
-324,7 +321,6 @@<BR>   if ( status == STATUS_WAIT_0 ) continue;/* 
thread stopped, wait for start again */<BR> <BR>   /* 
polling */<BR>-  DbgPrint("Start 
polling.\n");<BR>   wait_time.QuadPart = 
-(int64_t)(((uint64_t)POLLING_INTERVAL_MS) * 10000);<BR>   for 
(;;) {<BR>    //mlx4_interrupt( NULL, &priv->dev 
);<BR>@@ -334,7 +330,6 
@@<BR>            Executive, 
KernelMode, FALSE, &wait_time );<BR>    if ( status == 
STATUS_SUCCESS ) 
{<BR>     //KeClearEvent(&priv->eq_table.thread_stop_event);<BR>-    DbgPrint("Signaled 
to stop polling while in polling 
mode.\n");<BR>     break;  /* thread stopped 
*/<BR>    }<BR>   }<BR>@@ -342,7 +337,6 
@@<BR>   if(priv->eq_table.bTerminated) 
break;<BR>  }<BR> <BR>- DbgPrint("Polling thread 
terminated.\n");<BR>  PsTerminateSystemThread(STATUS_SUCCESS);<BR> <BR> }<BR></FONT></DIV></BODY></HTML>