• Robin Holt's avatar
    bte_error.c: · 8e61b243
    Robin Holt authored
    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: default avatarRobin Holt <holt@sgi.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    8e61b243
bte.c 11.6 KB