Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Ticket #349: ppc-cpuident.diff1

File ppc-cpuident.diff1, 1.8 KB (added by strauman, on 12/03/06 at 13:31:12)

ppc-cpuident.diff1

Line 
1Index: c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
2===================================================================
3RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c,v
4retrieving revision 1.5
5retrieving revision 1.6
6diff -c -r1.5 -r1.6
7*** c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c  30 Jan 2003 00:49:22 -0000      1.5
8--- c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c  21 Mar 2003 20:55:29 -0000      1.6
9***************
10*** 41,47 ****
11      case PPC_860:             return "MPC860";
12      case PPC_8260:            return "MPC8260";
13      default:
14!       printk("Unknown CPU value of 0x%x. Please add it to <libcpu/powerpc/shared/cpu.h>\n", cpu );
15    }
16    return "UNKNOWN";
17  }
18--- 41,47 ----
19      case PPC_860:             return "MPC860";
20      case PPC_8260:            return "MPC8260";
21      default:
22!       printk("Unknown CPU value of 0x%x. Please add it to <libcpu/powerpc/shared/include/cpuIdent.c>\n", cpu );
23    }
24    return "UNKNOWN";
25  }
26***************
27*** 55,61 ****
28      case PPC_603:
29      case PPC_603ev:
30      case PPC_604:
31!     /* case PPC_604r: */
32      case PPC_750:
33      case PPC_7400:
34      case PPC_604e:
35--- 55,61 ----
36      case PPC_603:
37      case PPC_603ev:
38      case PPC_604:
39!     case PPC_604r:
40      case PPC_750:
41      case PPC_7400:
42      case PPC_604e:
43***************
44*** 64,70 ****
45      case PPC_8260:
46        return current_ppc_cpu;
47      default:
48!       printk("Unknown PVR value of 0x%x. Please add it to <libcpu/powerpc/shared/cpu.h>\n", pvr );
49      return PPC_UNKNOWN;
50    }
51  }
52--- 64,70 ----
53      case PPC_8260:
54        return current_ppc_cpu;
55      default:
56!       printk("Unknown PVR value of 0x%x. Please add it to <libcpu/powerpc/shared/include/cpuIdent.c>\n", pvr );
57      return PPC_UNKNOWN;
58    }
59  }