MIPS: OCTEON: Add OCTEON family definitions to octeon-model.h
authorDavid Daney <david.daney@cavium.com>
Thu, 15 Nov 2012 21:47:04 +0000 (13:47 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Dec 2012 17:15:25 +0000 (18:15 +0100)
Used by follow-on EDAC patches.

Signed-off-by: David Daney <david.daney@cavium.com>
arch/mips/include/asm/octeon/octeon-model.h

index 14dd11f4492afc1959b56643c539c8e3ff089b3f..349bb2ba840cc0260453262c9b080183ee7978f4 100644 (file)
 #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:
  *