--- cputable-old_h 2008-02-25 18:24:47.000000000 -0800 +++ cputable-new_h 2008-04-30 06:45:14.000000000 -0700 @@ -56,8 +56,20 @@ PPC_PMC_IBM = 1, PPC_PMC_PA6T = 2, }; +struct ppc_misc_any { + void * (*misc_cp)(void *); +}; + +struct ppc_misc_750fgx { + void * (*misc_cp)(void *); + unsigned short min_ratio; + unsigned short max_ratio; + int min_core; + int max_core; +}; + /* NOTE WELL: Update identify_cpu() if fields are added or removed! */ struct cpu_spec { /* CPU is matched via (PVR & pvr_mask) == pvr_value */ unsigned int pvr_mask; @@ -96,8 +108,12 @@ unsigned long oprofile_mmcra_clear; /* Name of processor class, for the ELF AT_PLATFORM entry */ char *platform; + + /* miscellaneous catch all for various data (like min and max core + * frequencies for dual pll cpus) */ + void *misc; }; extern struct cpu_spec *cur_cpu_spec; @@ -249,9 +265,9 @@ #define CPU_FTRS_750FX1 (CPU_FTRS_750 | CPU_FTR_DUAL_PLL_750FX | CPU_FTR_NO_DPM) #define CPU_FTRS_750FX2 (CPU_FTRS_750 | CPU_FTR_NO_DPM) #define CPU_FTRS_750FX (CPU_FTRS_750 | CPU_FTR_DUAL_PLL_750FX | \ CPU_FTR_HAS_HIGH_BATS) -#define CPU_FTRS_750GX (CPU_FTRS_750FX) +#define CPU_FTRS_750GX (CPU_FTRS_750FX | CPU_FTR_DUAL_PLL_750FX) #define CPU_FTRS_7400_NOTAU (CPU_FTR_COMMON | \ CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB | CPU_FTR_L2CR | \ CPU_FTR_ALTIVEC_COMP | CPU_FTR_HPTE_TABLE | \ CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_PPC_LE)