aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/cpu.h')
-rw-r--r--arch/mips/include/asm/cpu.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h
index 90112adb1940..9904697bd792 100644
--- a/arch/mips/include/asm/cpu.h
+++ b/arch/mips/include/asm/cpu.h
@@ -1,6 +1,6 @@
1/* 1/*
2 * cpu.h: Values of the PRId register used to match up 2 * cpu.h: Values of the PRId register used to match up
3 * various MIPS cpu types. 3 * various MIPS cpu types.
4 * 4 *
5 * Copyright (C) 1996 David S. Miller (davem@davemloft.net) 5 * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
6 * Copyright (C) 2004 Maciej W. Rozycki 6 * Copyright (C) 2004 Maciej W. Rozycki
@@ -9,14 +9,14 @@
9#define _ASM_CPU_H 9#define _ASM_CPU_H
10 10
11/* Assigned Company values for bits 23:16 of the PRId Register 11/* Assigned Company values for bits 23:16 of the PRId Register
12 (CP0 register 15, select 0). As of the MIPS32 and MIPS64 specs from 12 (CP0 register 15, select 0). As of the MIPS32 and MIPS64 specs from
13 MTI, the PRId register is defined in this (backwards compatible) 13 MTI, the PRId register is defined in this (backwards compatible)
14 way: 14 way:
15 15
16 +----------------+----------------+----------------+----------------+ 16 +----------------+----------------+----------------+----------------+
17 | Company Options| Company ID | Processor ID | Revision | 17 | Company Options| Company ID | Processor ID | Revision |
18 +----------------+----------------+----------------+----------------+ 18 +----------------+----------------+----------------+----------------+
19 31 24 23 16 15 8 7 19 31 24 23 16 15 8 7
20 20
21 I don't have docs for all the previous processors, but my impression is 21 I don't have docs for all the previous processors, but my impression is
22 that bits 16-23 have been 0 for all MIPS processors before the MIPS32/64 22 that bits 16-23 have been 0 for all MIPS processors before the MIPS32/64
@@ -29,7 +29,7 @@
29#define PRID_COMP_ALCHEMY 0x030000 29#define PRID_COMP_ALCHEMY 0x030000
30#define PRID_COMP_SIBYTE 0x040000 30#define PRID_COMP_SIBYTE 0x040000
31#define PRID_COMP_SANDCRAFT 0x050000 31#define PRID_COMP_SANDCRAFT 0x050000
32#define PRID_COMP_NXP 0x060000 32#define PRID_COMP_NXP 0x060000
33#define PRID_COMP_TOSHIBA 0x070000 33#define PRID_COMP_TOSHIBA 0x070000
34#define PRID_COMP_LSI 0x080000 34#define PRID_COMP_LSI 0x080000
35#define PRID_COMP_LEXRA 0x0b0000 35#define PRID_COMP_LEXRA 0x0b0000
@@ -38,9 +38,9 @@
38#define PRID_COMP_INGENIC 0xd00000 38#define PRID_COMP_INGENIC 0xd00000
39 39
40/* 40/*
41 * Assigned values for the product ID register. In order to detect a 41 * Assigned values for the product ID register. In order to detect a
42 * certain CPU type exactly eventually additional registers may need to 42 * certain CPU type exactly eventually additional registers may need to
43 * be examined. These are valid when 23:16 == PRID_COMP_LEGACY 43 * be examined. These are valid when 23:16 == PRID_COMP_LEGACY
44 */ 44 */
45#define PRID_IMP_R2000 0x0100 45#define PRID_IMP_R2000 0x0100
46#define PRID_IMP_AU1_REV1 0x0100 46#define PRID_IMP_AU1_REV1 0x0100
@@ -101,14 +101,14 @@
101 * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE 101 * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE
102 */ 102 */
103 103
104#define PRID_IMP_SB1 0x0100 104#define PRID_IMP_SB1 0x0100
105#define PRID_IMP_SB1A 0x1100 105#define PRID_IMP_SB1A 0x1100
106 106
107/* 107/*
108 * These are the PRID's for when 23:16 == PRID_COMP_SANDCRAFT 108 * These are the PRID's for when 23:16 == PRID_COMP_SANDCRAFT
109 */ 109 */
110 110
111#define PRID_IMP_SR71000 0x0400 111#define PRID_IMP_SR71000 0x0400
112 112
113/* 113/*
114 * These are the PRID's for when 23:16 == PRID_COMP_BROADCOM 114 * These are the PRID's for when 23:16 == PRID_COMP_BROADCOM
@@ -145,7 +145,7 @@
145 * These are the PRID's for when 23:16 == PRID_COMP_INGENIC 145 * These are the PRID's for when 23:16 == PRID_COMP_INGENIC
146 */ 146 */
147 147
148#define PRID_IMP_JZRISC 0x0200 148#define PRID_IMP_JZRISC 0x0200
149 149
150/* 150/*
151 * These are the PRID's for when 23:16 == PRID_COMP_NETLOGIC 151 * These are the PRID's for when 23:16 == PRID_COMP_NETLOGIC
@@ -188,9 +188,9 @@
188#define PRID_REV_R3000A 0x0030 188#define PRID_REV_R3000A 0x0030
189#define PRID_REV_R3000 0x0020 189#define PRID_REV_R3000 0x0020
190#define PRID_REV_R2000A 0x0010 190#define PRID_REV_R2000A 0x0010
191#define PRID_REV_TX3912 0x0010 191#define PRID_REV_TX3912 0x0010
192#define PRID_REV_TX3922 0x0030 192#define PRID_REV_TX3922 0x0030
193#define PRID_REV_TX3927 0x0040 193#define PRID_REV_TX3927 0x0040
194#define PRID_REV_VR4111 0x0050 194#define PRID_REV_VR4111 0x0050
195#define PRID_REV_VR4181 0x0050 /* Same as VR4111 */ 195#define PRID_REV_VR4181 0x0050 /* Same as VR4111 */
196#define PRID_REV_VR4121 0x0060 196#define PRID_REV_VR4121 0x0060
@@ -217,9 +217,9 @@
217 * FPU implementation/revision register (CP1 control register 0). 217 * FPU implementation/revision register (CP1 control register 0).
218 * 218 *
219 * +---------------------------------+----------------+----------------+ 219 * +---------------------------------+----------------+----------------+
220 * | 0 | Implementation | Revision | 220 * | 0 | Implementation | Revision |
221 * +---------------------------------+----------------+----------------+ 221 * +---------------------------------+----------------+----------------+
222 * 31 16 15 8 7 0 222 * 31 16 15 8 7 0
223 */ 223 */
224 224
225#define FPIR_IMP_NONE 0x0000 225#define FPIR_IMP_NONE 0x0000