diff options
author | David Daney <david.daney@cavium.com> | 2012-11-15 13:47:04 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-13 18:15:25 +0100 |
commit | 6bbf6a6d48f7db2902459273360f87dd6f04385f (patch) | |
tree | 4664a3849aef38f6d8de15e12a27cbf965a11c98 | |
parent | 1007c4bc0f66925d92886dd9e664a1d49bbf6140 (diff) | |
download | linux-6bbf6a6d48f7db2902459273360f87dd6f04385f.tar.bz2 |
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>
-rw-r--r-- | arch/mips/include/asm/octeon/octeon-model.h | 6 |
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: * |