|
@@ -33,6 +33,7 @@
|
|
#define PRID_COMP_TOSHIBA 0x070000
|
|
#define PRID_COMP_TOSHIBA 0x070000
|
|
#define PRID_COMP_LSI 0x080000
|
|
#define PRID_COMP_LSI 0x080000
|
|
#define PRID_COMP_LEXRA 0x0b0000
|
|
#define PRID_COMP_LEXRA 0x0b0000
|
|
|
|
+#define PRID_COMP_CAVIUM 0x0d0000
|
|
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -113,6 +114,18 @@
|
|
#define PRID_IMP_BCM4710 0x4000
|
|
#define PRID_IMP_BCM4710 0x4000
|
|
#define PRID_IMP_BCM3302 0x9000
|
|
#define PRID_IMP_BCM3302 0x9000
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * These are the PRID's for when 23:16 == PRID_COMP_CAVIUM
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+#define PRID_IMP_CAVIUM_CN38XX 0x0000
|
|
|
|
+#define PRID_IMP_CAVIUM_CN31XX 0x0100
|
|
|
|
+#define PRID_IMP_CAVIUM_CN30XX 0x0200
|
|
|
|
+#define PRID_IMP_CAVIUM_CN58XX 0x0300
|
|
|
|
+#define PRID_IMP_CAVIUM_CN56XX 0x0400
|
|
|
|
+#define PRID_IMP_CAVIUM_CN50XX 0x0600
|
|
|
|
+#define PRID_IMP_CAVIUM_CN52XX 0x0700
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Definitions for 7:0 on legacy processors
|
|
* Definitions for 7:0 on legacy processors
|
|
*/
|
|
*/
|
|
@@ -203,6 +216,7 @@ enum cpu_type_enum {
|
|
* MIPS64 class processors
|
|
* MIPS64 class processors
|
|
*/
|
|
*/
|
|
CPU_5KC, CPU_20KC, CPU_25KF, CPU_SB1, CPU_SB1A, CPU_LOONGSON2,
|
|
CPU_5KC, CPU_20KC, CPU_25KF, CPU_SB1, CPU_SB1A, CPU_LOONGSON2,
|
|
|
|
+ CPU_CAVIUM_OCTEON,
|
|
|
|
|
|
CPU_LAST
|
|
CPU_LAST
|
|
};
|
|
};
|