summaryrefslogtreecommitdiff
path: root/include/asm-ia64/sn/addrs.h
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2006-03-21 19:18:26 +0300
committerTony Luck <tony.luck@intel.com>2006-03-21 19:18:26 +0300
commita4e817ba24d2a52f0332c2ddcdbf77ddd6a92bbe (patch)
treef2a43b1e741c4ade35e98b1088b3f111dfbf1342 /include/asm-ia64/sn/addrs.h
parent1f84253e3ce75fc1b2946a544e16c5c0c13c7017 (diff)
parent13938ca7a1ad9a4788cf73309f187d99c97ddfde (diff)
downloadlinux-a4e817ba24d2a52f0332c2ddcdbf77ddd6a92bbe.tar.xz
Pull altix-ce1.0-asic into release branch
Diffstat (limited to 'include/asm-ia64/sn/addrs.h')
-rw-r--r--include/asm-ia64/sn/addrs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-ia64/sn/addrs.h b/include/asm-ia64/sn/addrs.h
index 2c32e4b77b54..1d9efe541662 100644
--- a/include/asm-ia64/sn/addrs.h
+++ b/include/asm-ia64/sn/addrs.h
@@ -283,5 +283,13 @@
#define REMOTE_HUB_L(n, a) HUB_L(REMOTE_HUB_ADDR((n), (a)))
#define REMOTE_HUB_S(n, a, d) HUB_S(REMOTE_HUB_ADDR((n), (a)), (d))
+/*
+ * Coretalk address breakdown
+ */
+#define CTALK_NASID_SHFT 40
+#define CTALK_NASID_MASK (0x3FFFULL << CTALK_NASID_SHFT)
+#define CTALK_CID_SHFT 38
+#define CTALK_CID_MASK (0x3ULL << CTALK_CID_SHFT)
+#define CTALK_NODE_OFFSET 0x3FFFFFFFFF
#endif /* _ASM_IA64_SN_ADDRS_H */