H55376
s 00041/00000/00000
d D 1.1 02/03/13 20:31:05 patch 2 1
cC
cF1
cK23001
cO-rw-rw-r--
e
s 00000/00000/00000
d D 1.0 02/03/13 20:31:05 patch 1 0
c BitKeeper file /home/marcelo/bk/linux-2.4/include/asm-ia64/sn/sn2/slotnum.h
cBtorvalds@athlon.transmeta.com|ChangeSet|20020205173056|16047|c1d11a41ed024864
cHplucky.distro.conectiva
cK43891
cPinclude/asm-ia64/sn/sn2/slotnum.h
cR43b04eadc81f97df
cV4
cX0x821
cZ-03:00
e
u
U
f e 0
f x 0x821
t
T
I 2
/*
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (c) 1992 - 1997,2001 Silicon Graphics, Inc.  All rights reserved.
 */

#ifndef _ASM_IA64_SN_SN2_SLOTNUM_H
#define _ASM_IA64_SN_SN2_SLOTNUM_H

#define SLOTNUM_MAXLENGTH	16

/*
 * This file defines IO widget to slot/device assignments.
 */


/* This determines module to pnode mapping. */

#define NODESLOTS_PER_MODULE		1
#define NODESLOTS_PER_MODULE_SHFT	1

#define SLOTNUM_NODE_CLASS	0x00	/* Node   */
#define SLOTNUM_ROUTER_CLASS	0x10	/* Router */
#define SLOTNUM_XTALK_CLASS	0x20	/* Xtalk  */
#define SLOTNUM_MIDPLANE_CLASS	0x30	/* Midplane */
#define SLOTNUM_XBOW_CLASS	0x40	/* Xbow  */
#define SLOTNUM_KNODE_CLASS	0x50	/* Kego node */
#define SLOTNUM_PCI_CLASS	0x60	/* PCI widgets on XBridge */
#define SLOTNUM_INVALID_CLASS	0xf0	/* Invalid */

#define SLOTNUM_CLASS_MASK	0xf0
#define SLOTNUM_SLOT_MASK	0x0f

#define SLOTNUM_GETCLASS(_sn)	((_sn) & SLOTNUM_CLASS_MASK)
#define SLOTNUM_GETSLOT(_sn)	((_sn) & SLOTNUM_SLOT_MASK)


#endif /* _ASM_IA64_SN_SN2_SLOTNUM_H */
E 2
I 1
E 1
