]> git.neil.brown.name Git - history.git/commitdiff
ppc64: Add the feature_call function pointer to machdep
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Feb 2004 02:31:14 +0000 (13:31 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Feb 2004 02:31:14 +0000 (13:31 +1100)
include/asm-ppc64/machdep.h

index 3c2af66260eafc7bd98a371c7216b4fcee60d878..456633c66f8808213763aed9de36d433579482e1 100644 (file)
@@ -100,6 +100,11 @@ struct machdep_calls {
        ssize_t         (*nvram_size)(void);            
        int             (*nvram_sync)(void);
 
+       /* Motherboard/chipset features. This is a kind of general purpose
+        * hook used to control some machine specific features (like reset
+        * lines, chip power control, etc...).
+        */
+       long            (*feature_call)(unsigned int feature, ...);
 
 #ifdef CONFIG_SMP
        /* functions for dealing with other cpus */