From: Jack Morgenstein Date: Tue, 21 Apr 2009 04:12:25 +0000 (-0700) Subject: IB/mthca: Fix timeout for INIT_HCA and a few other commands X-Git-Tag: v2.6.30-rc4~5^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8531f1f14a85c004d5063a0a78c72d0b686ccb8e;p=pandora-kernel.git IB/mthca: Fix timeout for INIT_HCA and a few other commands Commands INIT_HCA, CLOSE_HCA, SYS_EN, SYS_DIS, and CLOSE_IB all have 1 second timeouts. For INIT_HCA this causes problems when had more than 2^18 are QPs configured, since the command takes more than 1 second to complete. All other commands have 60-second timeouts. This patch makes the above commands consistent with the rest of the commands (and with the chip documentation). This patch is an expansion of a patch from Arthur Kepner fixing just the INIT_HCA timeout. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed