bte_error.c:
bte.c: After working with the chip designer some more, we have determined one more hardware register we were supposed to write to ensure the SHUB chip was ready for future transfers. This patch fixes that. This also allowed us to eliminate a udelay which was working around the problem. During retesting, we uncovered a race condition where transfer status was changed by a different cpu after we were expecting one value which cascaded to additional problems. This patch uses a local variable to also eliminate that race. Signed-off-by: Robin Holt <holt@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Showing
Please register or sign in to comment