Add Broadcom BCM3302 CPU to the table.
This commit is contained in:
parent
38ef45691e
commit
c2f53256f5
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpuregs.h,v 1.87 2011/09/22 05:08:52 macallan Exp $ */
|
||||
/* $NetBSD: cpuregs.h,v 1.88 2011/10/29 18:56:49 jakllsch Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Miodrag Vallat.
|
||||
@ -905,6 +905,11 @@
|
||||
#define MIPS_74K 0x97 /* MIPS 74Kc/74Kf ISA 32 Rel 2 */
|
||||
#define MIPS_1004K 0x99 /* MIPS 1004Kc/1004Kf ISA 32 Rel 2 */
|
||||
|
||||
/*
|
||||
* CPU processor revision IDs for company ID == 2 (Broadcom)
|
||||
*/
|
||||
#define MIPS_BCM3302 0x90 /* MIPS 4KEc_R2-like? ISA 32 Rel 2 */
|
||||
|
||||
/*
|
||||
* Alchemy (company ID 3) use the processor ID field to donote the CPU core
|
||||
* revision and the company options field do donate the SOC chip type.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mips_machdep.c,v 1.249 2011/09/22 05:08:52 macallan Exp $ */
|
||||
/* $NetBSD: mips_machdep.c,v 1.250 2011/10/29 18:56:49 jakllsch Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -112,7 +112,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.249 2011/09/22 05:08:52 macallan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.250 2011/10/29 18:56:49 jakllsch Exp $");
|
||||
|
||||
#define __INTR_PRIVATE
|
||||
#include "opt_cputype.h"
|
||||
@ -504,6 +504,9 @@ static const struct pridtab cputab[] = {
|
||||
MIPS_CP0FL_CONFIG3 | MIPS_CP0FL_CONFIG6 | MIPS_CP0FL_CONFIG7,
|
||||
0, "1004K" },
|
||||
|
||||
{ MIPS_PRID_CID_BROADCOM, MIPS_BCM3302, -1, -1, -1, 0,
|
||||
MIPS32_FLAGS | CPU_MIPS_DOUBLE_COUNT, 0, 0, "BCM3302" },
|
||||
|
||||
{ MIPS_PRID_CID_ALCHEMY, MIPS_AU_REV1, -1, MIPS_AU1000, -1, 0,
|
||||
MIPS32_FLAGS | CPU_MIPS_NO_WAIT | CPU_MIPS_I_D_CACHE_COHERENT, 0, 0,
|
||||
"Au1000 (Rev 1 core)" },
|
||||
|
Loading…
Reference in New Issue
Block a user