patch-2.4.20 linux-2.4.20/include/asm-ppc/cputable.h

Next file: linux-2.4.20/include/asm-ppc/est8260.h
Previous file: linux-2.4.20/include/asm-ppc/bseip.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-ppc/cputable.h linux-2.4.20/include/asm-ppc/cputable.h
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.cputable.h 1.4 03/19/02 15:04:39 benh
+ * BK Id: %F% %I% %G% %U% %#%
  */
 /*
  *  include/asm-ppc/cputable.h
@@ -32,6 +32,10 @@
 /* This structure can grow, it's real size is used by head.S code
  * via the mkdefs mecanism.
  */
+struct cpu_spec;
+
+typedef	void (*cpu_setup_t)(unsigned long offset, int cpu_nr, struct cpu_spec* spec);
+
 struct cpu_spec {
 	/* CPU is matched via (PVR & pvr_mask) == pvr_value */
 	unsigned int	pvr_mask;
@@ -48,7 +52,7 @@
 	/* this is called to initialize various CPU bits like L1 cache,
 	 * BHT, SPD, etc... from head.S before branching to identify_machine
 	 */
-	void		(*cpu_setup)(int cpu_nr);
+	cpu_setup_t	cpu_setup;
 };
 
 extern struct cpu_spec		cpu_specs[];
@@ -69,6 +73,9 @@
 #define CPU_FTR_HPTE_TABLE		0x00000200
 #define CPU_FTR_CAN_NAP			0x00000400
 #define CPU_FTR_L3CR			0x00000800
+#define CPU_FTR_L3_DISABLE_NAP		0x00001000
+#define CPU_FTR_NAP_DISABLE_L2_PR	0x00002000
+#define CPU_FTR_DUAL_PLL_750FX		0x00004000
 
 #ifdef __ASSEMBLY__
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)