]> err.no Git - linux-2.6/blobdiff - arch/mips/kernel/proc.c
Add support for SB1A CPU.
[linux-2.6] / arch / mips / kernel / proc.c
index d1290b1ec408ada8e08d5387f923a5ebfef32a73..86fe15b273cd60c5df1d0198c35f14a0f89fd0a4 100644 (file)
@@ -2,7 +2,8 @@
  *  linux/arch/mips/kernel/proc.c
  *
  *  Copyright (C) 1995, 1996, 2001  Ralf Baechle
- *  Copyright (C) 2001  MIPS Technologies, Inc.
+ *  Copyright (C) 2001, 2004  MIPS Technologies, Inc.
+ *  Copyright (C) 2004  Maciej W. Rozycki
  */
 #include <linux/config.h>
 #include <linux/delay.h>
@@ -55,6 +56,7 @@ static const char *cpu_name[] = {
         [CPU_5KC]      = "MIPS 5Kc",
        [CPU_R4310]     = "R4310",
        [CPU_SB1]       = "SiByte SB1",
+       [CPU_SB1A]      = "SiByte SB1A",
        [CPU_TX3912]    = "TX3912",
        [CPU_TX3922]    = "TX3922",
        [CPU_TX3927]    = "TX3927",
@@ -71,6 +73,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",
@@ -78,7 +81,8 @@ static const char *cpu_name[] = {
        [CPU_VR4133]    = "NEC VR4133",
        [CPU_VR4181]    = "NEC VR4181",
        [CPU_VR4181A]   = "NEC VR4181A",
-       [CPU_SR71000]   = "Sandcraft SR71000"
+       [CPU_SR71000]   = "Sandcraft SR71000",
+       [CPU_PR4450]    = "Philips PR4450",
 };
 
 
@@ -118,6 +122,14 @@ static int show_cpuinfo(struct seq_file *m, void *v)
                      cpu_has_divec ? "yes" : "no");
        seq_printf(m, "hardware watchpoint\t: %s\n",
                      cpu_has_watch ? "yes" : "no");
+       seq_printf(m, "ASEs implemented\t:%s%s%s%s%s%s\n",
+                     cpu_has_mips16 ? " mips16" : "",
+                     cpu_has_mdmx ? " mdmx" : "",
+                     cpu_has_mips3d ? " mips3d" : "",
+                     cpu_has_smartmips ? " smartmips" : "",
+                     cpu_has_dsp ? " dsp" : "",
+                     cpu_has_mipsmt ? " mt" : ""
+               );
 
        sprintf(fmt, "VCE%%c exceptions\t\t: %s\n",
                cpu_has_vce ? "%u" : "not available");