summaryrefslogtreecommitdiff
path: root/arch/mips/include
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2012-11-16 01:47:04 +0400
committerRalf Baechle <ralf@linux-mips.org>2012-12-13 21:15:25 +0400
commit6bbf6a6d48f7db2902459273360f87dd6f04385f (patch)
tree4664a3849aef38f6d8de15e12a27cbf965a11c98 /arch/mips/include
parent1007c4bc0f66925d92886dd9e664a1d49bbf6140 (diff)
downloadlinux-6bbf6a6d48f7db2902459273360f87dd6f04385f.tar.xz
MIPS: OCTEON: Add OCTEON family definitions to octeon-model.h
Used by follow-on EDAC patches. Signed-off-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/octeon/octeon-model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/octeon/octeon-model.h b/arch/mips/include/asm/octeon/octeon-model.h
index 14dd11f4492a..349bb2ba840c 100644
--- a/arch/mips/include/asm/octeon/octeon-model.h
+++ b/arch/mips/include/asm/octeon/octeon-model.h
@@ -218,6 +218,12 @@
#define OCTEON_CN5XXX (OCTEON_CN58XX_PASS1_0 | OM_MATCH_5XXX_FAMILY_MODELS)
#define OCTEON_CN6XXX (OCTEON_CN63XX_PASS1_0 | OM_MATCH_6XXX_FAMILY_MODELS)
+/* These are used to cover entire families of OCTEON processors */
+#define OCTEON_FAM_1 (OCTEON_CN3XXX)
+#define OCTEON_FAM_PLUS (OCTEON_CN5XXX)
+#define OCTEON_FAM_1_PLUS (OCTEON_FAM_PLUS | OM_MATCH_PREVIOUS_MODELS)
+#define OCTEON_FAM_2 (OCTEON_CN6XXX)
+
/* The revision byte (low byte) has two different encodings.
* CN3XXX:
*