patch-1.3.98 linux/include/linux/apm_bios.h

Next file: linux/include/linux/bios32.h
Previous file: linux/include/asm-sparc/fcntl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.97/linux/include/linux/apm_bios.h linux/include/linux/apm_bios.h
@@ -61,6 +61,8 @@
 	int		suser;
 	int		suspends_pending;
 	int		standbys_pending;
+	int		suspends_read;
+	int		standbys_read;
 	int		event_head;
 	int		event_tail;
 	apm_event_t	events[APM_MAX_EVENTS];
@@ -81,6 +83,7 @@
 extern int		apm_register_callback(int (*callback)(apm_event_t));
 extern void		apm_unregister_callback(int (*callback)(apm_event_t));
 
+extern int		apm_set_power_state(ushort state);
 extern int		apm_display_blank(void);
 extern int		apm_display_unblank(void);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this