diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-29 05:54:24 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-29 05:54:24 -0400 |
commit | 3825c9e8d01e4310c40a3903a354c433c32a7b6f (patch) | |
tree | 87c94a8076bbb38bd2cf20ab9bc23d6f74f6a0a8 /include/asm-sparc/machines.h | |
parent | 5d7b605245b1aa1a9cd6549b1f57d69273eb0c37 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
Merge commit 'v2.6.27-rc1' into x86/microcode
Conflicts:
arch/x86/kernel/microcode.c
Manual resolutions:
arch/x86/kernel/microcode_amd.c
arch/x86/kernel/microcode_intel.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-sparc/machines.h')
-rw-r--r-- | include/asm-sparc/machines.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/include/asm-sparc/machines.h b/include/asm-sparc/machines.h deleted file mode 100644 index c28c2f248794..000000000000 --- a/include/asm-sparc/machines.h +++ /dev/null | |||
@@ -1,67 +0,0 @@ | |||
1 | /* | ||
2 | * machines.h: Defines for taking apart the machine type value in the | ||
3 | * idprom and determining the kind of machine we are on. | ||
4 | * | ||
5 | * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) | ||
6 | */ | ||
7 | #ifndef _SPARC_MACHINES_H | ||
8 | #define _SPARC_MACHINES_H | ||
9 | |||
10 | struct Sun_Machine_Models { | ||
11 | char *name; | ||
12 | unsigned char id_machtype; | ||
13 | }; | ||
14 | |||
15 | /* Current number of machines we know about that has an IDPROM | ||
16 | * machtype entry including one entry for the 0x80 OBP machines. | ||
17 | */ | ||
18 | #define NUM_SUN_MACHINES 15 | ||
19 | |||
20 | /* The machine type in the idprom area looks like this: | ||
21 | * | ||
22 | * --------------- | ||
23 | * | ARCH | MACH | | ||
24 | * --------------- | ||
25 | * 7 4 3 0 | ||
26 | * | ||
27 | * The ARCH field determines the architecture line (sun4, sun4c, etc). | ||
28 | * The MACH field determines the machine make within that architecture. | ||
29 | */ | ||
30 | |||
31 | #define SM_ARCH_MASK 0xf0 | ||
32 | #define SM_SUN4 0x20 | ||
33 | #define SM_SUN4C 0x50 | ||
34 | #define SM_SUN4M 0x70 | ||
35 | #define SM_SUN4M_OBP 0x80 | ||
36 | |||
37 | #define SM_TYP_MASK 0x0f | ||
38 | /* Sun4 machines */ | ||
39 | #define SM_4_260 0x01 /* Sun 4/200 series */ | ||
40 | #define SM_4_110 0x02 /* Sun 4/100 series */ | ||
41 | #define SM_4_330 0x03 /* Sun 4/300 series */ | ||
42 | #define SM_4_470 0x04 /* Sun 4/400 series */ | ||
43 | |||
44 | /* Sun4c machines Full Name - PROM NAME */ | ||
45 | #define SM_4C_SS1 0x01 /* Sun4c SparcStation 1 - Sun 4/60 */ | ||
46 | #define SM_4C_IPC 0x02 /* Sun4c SparcStation IPC - Sun 4/40 */ | ||
47 | #define SM_4C_SS1PLUS 0x03 /* Sun4c SparcStation 1+ - Sun 4/65 */ | ||
48 | #define SM_4C_SLC 0x04 /* Sun4c SparcStation SLC - Sun 4/20 */ | ||
49 | #define SM_4C_SS2 0x05 /* Sun4c SparcStation 2 - Sun 4/75 */ | ||
50 | #define SM_4C_ELC 0x06 /* Sun4c SparcStation ELC - Sun 4/25 */ | ||
51 | #define SM_4C_IPX 0x07 /* Sun4c SparcStation IPX - Sun 4/50 */ | ||
52 | |||
53 | /* Sun4m machines, these predate the OpenBoot. These values only mean | ||
54 | * something if the value in the ARCH field is SM_SUN4M, if it is | ||
55 | * SM_SUN4M_OBP then you have the following situation: | ||
56 | * 1) You either have a sun4d, a sun4e, or a recently made sun4m. | ||
57 | * 2) You have to consult OpenBoot to determine which machine this is. | ||
58 | */ | ||
59 | #define SM_4M_SS60 0x01 /* Sun4m SparcSystem 600 */ | ||
60 | #define SM_4M_SS50 0x02 /* Sun4m SparcStation 10 */ | ||
61 | #define SM_4M_SS40 0x03 /* Sun4m SparcStation 5 */ | ||
62 | |||
63 | /* Sun4d machines -- N/A */ | ||
64 | /* Sun4e machines -- N/A */ | ||
65 | /* Sun4u machines -- N/A */ | ||
66 | |||
67 | #endif /* !(_SPARC_MACHINES_H) */ | ||