Applied on 2572.
 
Thanks
Tzachi

________________________________

        From: Tzachi Dar 
        Sent: Sunday, November 15, 2009 7:57 PM
        To: [email protected]
        Cc: Windows Design
        Subject: patch: [mlx4] Remove unnecessary printing.
        
        
        Index: Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c
        
===================================================================
        --- Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c (revision
4506)
        +++ Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c (revision
4507)
        @@ -302,19 +302,16 @@
          for(;;){
         
           /* before start polling */
        -  DbgPrint("Before polling.\n");
           for (;;) {
            status = KeWaitForMultipleObjects( 2, wait_objects, 
                       WaitAny, Executive, KernelMode, FALSE, NULL, NULL
);
         
            if ( status == STATUS_WAIT_0 ){/* thread stopped */
        -    DbgPrint("Signaled to stop polling.\n");
             break;  
            }
         
            /* start polling */
            if ( status == STATUS_WAIT_1 ){
        -    DbgPrint("Signaled to start polling.\n");
             break;  
            }
         
        @@ -324,7 +321,6 @@
           if ( status == STATUS_WAIT_0 ) continue;/* thread stopped,
wait for start again */
         
           /* polling */
        -  DbgPrint("Start polling.\n");
           wait_time.QuadPart =
-(int64_t)(((uint64_t)POLLING_INTERVAL_MS) * 10000);
           for (;;) {
            //mlx4_interrupt( NULL, &priv->dev );
        @@ -334,7 +330,6 @@
                    Executive, KernelMode, FALSE, &wait_time );
            if ( status == STATUS_SUCCESS ) {
             //KeClearEvent(&priv->eq_table.thread_stop_event);
        -    DbgPrint("Signaled to stop polling while in polling
mode.\n");
             break;  /* thread stopped */
            }
           }
        @@ -342,7 +337,6 @@
           if(priv->eq_table.bTerminated) break;
          }
         
        - DbgPrint("Polling thread terminated.\n");
          PsTerminateSystemThread(STATUS_SUCCESS);
         
         }
        

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to