1 --- linux-mips-cvs/include/asm-mips/cpu.h 2004-07-07 20:19:37.000000000 +0200
2 +++ linux-broadcom/include/asm-mips/cpu.h 2005-01-31 13:13:14.000000000 +0100
7 +#define PRID_COPT_MASK 0xff000000
8 +#define PRID_COMP_MASK 0x00ff0000
9 +#define PRID_IMP_MASK 0x0000ff00
10 +#define PRID_REV_MASK 0x000000ff
12 #define PRID_COMP_LEGACY 0x000000
13 #define PRID_COMP_MIPS 0x010000
14 #define PRID_COMP_BROADCOM 0x020000
16 #define PRID_IMP_RM7000 0x2700
17 #define PRID_IMP_NEVADA 0x2800 /* RM5260 ??? */
18 #define PRID_IMP_RM9000 0x3400
19 +#define PRID_IMP_BCM4710 0x4000
20 #define PRID_IMP_R5432 0x5400
21 #define PRID_IMP_R5500 0x5500
22 #define PRID_IMP_4KC 0x8000
24 #define PRID_IMP_4KEC 0x8400
25 #define PRID_IMP_4KSC 0x8600
26 #define PRID_IMP_25KF 0x8800
27 +#define PRID_IMP_BCM3302 0x9000
28 +#define PRID_IMP_BCM3303 0x9100
29 #define PRID_IMP_24K 0x9300
31 #define PRID_IMP_UNKNOWN 0xff00
33 +#define BCM330X(id) \
34 + (((id & (PRID_COMP_MASK | PRID_IMP_MASK)) == (PRID_COMP_BROADCOM | PRID_IMP_BCM3302)) \
35 + || ((id & (PRID_COMP_MASK | PRID_IMP_MASK)) == (PRID_COMP_BROADCOM | PRID_IMP_BCM3303)))
38 * These are the PRID's for when 23:16 == PRID_COMP_SIBYTE
45 +#define CPU_BCM4710 60
46 +#define CPU_BCM3302 61