summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Holt <holt@sgi.com>2004-10-19 20:36:01 +0000
committerTony Luck <tony.luck@intel.com>2004-10-19 20:36:01 +0000
commit8a1f00a8c1452dadd51ed393137c23a2562af502 (patch)
treed0bcae3383a035d243e95d544301aa4969bae8c6 /include
parent4ead42c5173a9239abac310cbd3c77e4e03d7edf (diff)
[IA64-SGI] Correct BTE notification timeouts on SN2.
The SN2 Block Transfer Engine occassionally fails to send a notification that it has completed a transfer to the kernel. This patch adds a timeout mechanism which will detect the failure, reset the interface, and then retry the transfer. Signed-off-by: Robin Holt Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ia64/sn/bte.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/bte.h b/include/asm-ia64/sn/bte.h
index 1b643d1e0820..0ec27f99c181 100644
--- a/include/asm-ia64/sn/bte.h
+++ b/include/asm-ia64/sn/bte.h
@@ -55,7 +55,9 @@
/* macro to force the IBCT0 value valid */
#define BTE_VALID_MODE(x) ((x) & (IBCT_NOTIFY | IBCT_ZFIL_MODE))
-#define BTE_ACTIVE (IBLS_BUSY | IBLS_ERROR)
+#define BTE_ACTIVE (IBLS_BUSY | IBLS_ERROR)
+#define BTE_WORD_AVAILABLE (IBLS_BUSY << 1)
+#define BTE_WORD_BUSY (~BTE_WORD_AVAILABLE)
/*
* Some macros to simplify reading.