<!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.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=852584416-13112008>This patch goes to 
the trunk, unless there is anoher RC.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=852584416-13112008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=852584416-13112008>Signed off by: 
leonid.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Index: 
Q:/projinf4/trunk/hw/mthca/kernel/mthca_cmd.c<BR>===================================================================<BR>--- 
Q:/projinf4/trunk/hw/mthca/kernel/mthca_cmd.c (revision 3312)<BR>+++ 
Q:/projinf4/trunk/hw/mthca/kernel/mthca_cmd.c (revision 3313)<BR>@@ -259,10 
+259,16 
@@<BR> <BR>  down(&dev->cmd.hcr_mutex);<BR> <BR>- if 
(event && wait_go_bit(dev,GO_BIT_TIMEOUT)) {<BR>-  err = 
-EAGAIN;<BR>-  goto out;<BR>- }<BR>+ if 
(event)<BR>+  if (wait_go_bit(dev,GO_BIT_TIMEOUT)) 
{<BR>+   err = -EAGAIN;<BR>+   goto 
out;<BR>+  }<BR>+ else<BR>+  if (go_bit(dev)) 
{<BR>+   err = -EAGAIN;<BR>+   goto 
out;<BR>+  }<BR> <BR>  /*<BR>   * We use 
writel (instead of something like memcpy_toio)<BR></DIV></FONT></BODY></HTML>