Go to the documentation of this file.
11 #ifndef _ASM_IA64_SN_KLCONFIG_H
12 #define _ASM_IA64_SN_KLCONFIG_H
32 #define NODE_OFFSET_TO_LBOARD(nasid,off) (lboard_t*)(GLOBAL_CAC_ADDR((nasid), (off)))
131 #define KLCLASS_MASK 0xf0
132 #define KLCLASS_NONE 0x00
133 #define KLCLASS_NODE 0x10
134 #define KLCLASS_CPU KLCLASS_NODE
135 #define KLCLASS_IO 0x20
137 #define KLCLASS_ROUTER 0x30
138 #define KLCLASS_MIDPLANE 0x40
140 #define KLCLASS_IOBRICK 0x70
141 #define KLCLASS_MAX 8
143 #define KLCLASS(_x) ((_x) & KLCLASS_MASK)
150 #define KLTYPE_MASK 0x0f
151 #define KLTYPE(_x) ((_x) & KLTYPE_MASK)
153 #define KLTYPE_SNIA (KLCLASS_CPU | 0x1)
154 #define KLTYPE_TIO (KLCLASS_CPU | 0x2)
156 #define KLTYPE_ROUTER (KLCLASS_ROUTER | 0x1)
157 #define KLTYPE_META_ROUTER (KLCLASS_ROUTER | 0x3)
158 #define KLTYPE_REPEATER_ROUTER (KLCLASS_ROUTER | 0x4)
160 #define KLTYPE_IOBRICK_XBOW (KLCLASS_MIDPLANE | 0x2)
162 #define KLTYPE_IOBRICK (KLCLASS_IOBRICK | 0x0)
163 #define KLTYPE_NBRICK (KLCLASS_IOBRICK | 0x4)
164 #define KLTYPE_PXBRICK (KLCLASS_IOBRICK | 0x6)
165 #define KLTYPE_IXBRICK (KLCLASS_IOBRICK | 0x7)
166 #define KLTYPE_CGBRICK (KLCLASS_IOBRICK | 0x8)
167 #define KLTYPE_OPUSBRICK (KLCLASS_IOBRICK | 0x9)
168 #define KLTYPE_SABRICK (KLCLASS_IOBRICK | 0xa)
169 #define KLTYPE_IABRICK (KLCLASS_IOBRICK | 0xb)
170 #define KLTYPE_PABRICK (KLCLASS_IOBRICK | 0xc)
171 #define KLTYPE_GABRICK (KLCLASS_IOBRICK | 0xd)
178 #define MAX_COMPTS_PER_BRD 24