Import 2.3.12pre3
[davej-history.git] / include / asm-mips / sgi.h
blobbafe60b57796438114784f81e6d5dcac663face6
1 /* $Id: sgi.h,v 1.1.1.1 1997/06/01 03:17:12 ralf Exp $
2 * sgi.h: Definitions specific to SGI machines.
4 * Copyright (C) 1996 David S. Miller (dm@sgi.com)
5 */
6 #ifndef _MIPS_SGI_H
7 #define _MIPS_SGI_H
9 /* UP=UniProcessor MP=MultiProcessor(capable) */
10 enum sgi_mach {
11 ip4, /* R2k UP */
12 ip5, /* R2k MP */
13 ip6, /* R3k UP */
14 ip7, /* R3k MP */
15 ip9, /* R3k UP */
16 ip12, /* R3kA UP, Indigo */
17 ip15, /* R3kA MP */
18 ip17, /* R4K UP */
19 ip19, /* R4K MP */
20 ip20, /* R4K UP, Indigo */
21 ip21, /* TFP MP */
22 ip22, /* R4x00 UP, Indigo2 */
23 ip25, /* R10k MP */
24 ip26, /* TFP UP, Indigo2 */
25 ip28, /* R10k UP, Indigo2 */
26 ip30,
27 ip32,
30 extern enum sgi_mach sgimach;
31 extern void sgi_sysinit(void);
33 /* Many I/O space registers are byte sized and are contained within
34 * one byte per word, specifically the MSB, this macro helps out.
36 #ifdef __MIPSEL__
37 #define SGI_MSB(regaddr) (regaddr)
38 #else
39 #define SGI_MSB(regaddr) ((regaddr) | 0x3)
40 #endif
42 #endif /* !(_MIPS_SGI_H) */