summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn
diff options
context:
space:
mode:
authorMark Maule <maule@sgi.com>2005-08-03 14:06:00 -0700
committerTony Luck <tony.luck@intel.com>2005-08-11 15:37:13 -0700
commit5b53ed1f2ed6c85e2b1c39d97cc112ea32004609 (patch)
tree538fb3307b1f16928dde68c6f6ff5565be3a2efb /include/asm-ia64/sn
parent735e60f4c67823a3e01655c990296e2e56574885 (diff)
downloadop-kernel-dev-5b53ed1f2ed6c85e2b1c39d97cc112ea32004609.zip
op-kernel-dev-5b53ed1f2ed6c85e2b1c39d97cc112ea32004609.tar.gz
[IA64-SGI] add support for TIO huge-window
Altix patch to add TIO "huge-window" address support to sn_dma_flush(). Update copyright in affected files. Signed-off-by: Mark Maule <maule@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/sn')
-rw-r--r--include/asm-ia64/sn/addrs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-ia64/sn/addrs.h b/include/asm-ia64/sn/addrs.h
index 103d745..b6e85e4 100644
--- a/include/asm-ia64/sn/addrs.h
+++ b/include/asm-ia64/sn/addrs.h
@@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (c) 1992-1999,2001-2004 Silicon Graphics, Inc. All rights reserved.
+ * Copyright (c) 1992-1999,2001-2005 Silicon Graphics, Inc. All rights reserved.
*/
#ifndef _ASM_IA64_SN_ADDRS_H
@@ -191,7 +191,8 @@
#define TIO_BWIN_WINDOW_SELECT_MASK 0x7
#define TIO_BWIN_WINDOWNUM(x) (((x) >> TIO_BWIN_SIZE_BITS) & TIO_BWIN_WINDOW_SELECT_MASK)
-
+#define TIO_HWIN_SHIFT_BITS 33
+#define TIO_HWIN(x) (NODE_OFFSET(x) >> TIO_HWIN_SHIFT_BITS)
/*
* The following definitions pertain to the IO special address
OpenPOWER on IntegriCloud