patch-2.2.18 linux/include/asm-ppc/feature.h
Next file: linux/include/asm-ppc/heathrow.h
Previous file: linux/include/asm-ppc/dma.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Wed Nov 8 23:00:35 2000
- Orig file:
v2.2.17/include/asm-ppc/feature.h
- Orig date:
Sat Sep 9 18:42:50 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-ppc/feature.h linux/include/asm-ppc/feature.h
@@ -45,6 +45,7 @@
FEATURE_IDE2_reset,
FEATURE_Mediabay_IDE_switch, /* MB IDE bus switch */
FEATURE_Mediabay_content, /* MB content indicator enable */
+ FEATURE_Airport_reset, /* Is it actually a reset ? */
FEATURE_last,
};
@@ -69,5 +70,27 @@
/* Initialize feature stuff */
extern void feature_init(void);
+/*
+ * Additional functions related to Core99 machines
+ */
+extern void feature_set_gmac_power(struct device_node* device, int power);
+
+ /* use constants in KeyLargo.h for the reset parameter */
+extern void feature_set_gmac_phy_reset(struct device_node* device, int reset);
+
+extern void feature_set_usb_power(struct device_node* device, int power);
+
+extern void feature_set_firewire_power(struct device_node* device, int power);
+
+extern void feature_core99_kick_cpu1(void);
+
+/*
+ * Sleep related functions. At term, they should be high-priority notifiers,
+ * but this would require some changes to the current sleep scheme that won't
+ * be done in 2.2.
+ */
+extern void feature_prepare_for_sleep(void);
+
+extern void feature_wake_up(void);
#endif /* __ASM_PPC_FEATURE_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)