diff options
-rw-r--r-- | sys/powerpc/powerpc/cpu.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/powerpc/powerpc/cpu.c b/sys/powerpc/powerpc/cpu.c index e2a4f71..4abeb87 100644 --- a/sys/powerpc/powerpc/cpu.c +++ b/sys/powerpc/powerpc/cpu.c @@ -251,8 +251,6 @@ cpu_setup(u_int cpuid) } switch (vers) { - case MPC750: - case IBM750FX: case MPC7400: case MPC7410: case MPC7447A: @@ -260,11 +258,18 @@ cpu_setup(u_int cpuid) case MPC7450: case MPC7455: case MPC7457: + /* G3 systems don't have an L3 cache, so only check + * for G4 and above */ + + l3cr_config = mfspr(SPR_L3CR); + + /* Fallthrough */ + case MPC750: + case IBM750FX: cpu_print_speed(); printf("\n"); l2cr_config = mfspr(SPR_L2CR); - l3cr_config = mfspr(SPR_L3CR); if (bootverbose) cpu_print_cacheinfo(cpuid, vers); |