IB/qib: Ensure that LOS and DFE are being turned off
authorMitko Haralanov <mitko@qlogic.com>
Thu, 9 Jun 2011 20:27:26 +0000 (20:27 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 17 Jun 2011 18:56:59 +0000 (11:56 -0700)
commit3126448451105fae59de0058c68692aa09aa4c37
treeb895c5861c0e648e4ee2876376d7353b6c348e43
parent2c53b436a30867eb6b47dd7bab23ba638d1fb0d2
IB/qib: Ensure that LOS and DFE are being turned off

Due to timing, it is possible for the LOS and DFE to remain on. This
is due to the link progressing to LinkUP prior to the driver getting
the first Status Changed interrupt.  By expanding the conditions under
which LOS is turned off and DFE timeout is being set, timing is no
longer an issue.

Signed-off-by: Mitko Haralanov <mitko@qlogic.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_iba7322.c
drivers/infiniband/hw/qib/qib_intr.c