patch-2.4.0-test4 linux/include/asm-ppc/feature.h
Next file: linux/include/asm-ppc/hardirq.h
Previous file: linux/include/asm-ppc/elf.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Jul 13 09:42:51 2000
- Orig file:
v2.4.0-test3/linux/include/asm-ppc/feature.h
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.4.0-test3/linux/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,21 @@
/* 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);
+
+extern void feature_set_usb_power(struct device_node* device, int power);
+
+extern void feature_set_firewire_power(struct device_node* device, int power);
+
+/*
+ * Sleep related functions. At term, they should be high-priority notifiers
+ */
+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)