Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11149
b: refs/heads/master
c: bbc7f22
h: refs/heads/master
i:
  11147: 3f7779d
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 3540ef6 commit 8c5dd6b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 079ef8bb809c701fa0ab09d8984262693b854f94
refs/heads/master: bbc7f22f6dca8a075b565ade49e9a982f89707c3
5 changes: 5 additions & 0 deletions trunk/arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ static inline void check_wait(void)
/* case CPU_20KC:*/
case CPU_24K:
case CPU_25KF:
case CPU_34K:
cpu_wait = r4k_wait;
printk(" available.\n");
break;
Expand Down Expand Up @@ -538,6 +539,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
/* Probe for L2 cache */
c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT;
break;
case PRID_IMP_34K:
c->cputype = CPU_34K;
c->isa_level = MIPS_CPU_ISA_M32;
break;
}
}

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/kernel/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ static const char *cpu_name[] = {
[CPU_20KC] = "MIPS 20Kc",
[CPU_24K] = "MIPS 24K",
[CPU_25KF] = "MIPS 25Kf",
[CPU_34K] = "MIPS 34K",
[CPU_VR4111] = "NEC VR4111",
[CPU_VR4121] = "NEC VR4121",
[CPU_VR4122] = "NEC VR4122",
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,

case CPU_4KEC:
case CPU_24K:
case CPU_34K:
i_ehb(p);
tlbw(p);
break;
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/asm-mips/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#define PRID_IMP_4KEMPR2 0x9100
#define PRID_IMP_4KSD 0x9200
#define PRID_IMP_24K 0x9300
#define PRID_IMP_34K 0x9500
#define PRID_IMP_24KE 0x9600

#define PRID_IMP_UNKNOWN 0xff00
Expand Down Expand Up @@ -185,7 +186,8 @@
#define CPU_AU1550 57
#define CPU_24K 58
#define CPU_AU1200 59
#define CPU_LAST 59
#define CPU_34K 60
#define CPU_LAST 60

/*
* ISA Level encodings
Expand Down

0 comments on commit 8c5dd6b

Please sign in to comment.