patch-2.1.15 linux/include/linux/notifier.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/netlink.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.14/linux/include/linux/notifier.h linux/include/linux/notifier.h
@@ -92,5 +92,16 @@
 				   detected a hardware crash and restarted
 				   - we can use this eg to kick tcp sessions
 				   once done */
+#define NETDEV_CHANGE	0x0004	/* Notify device state change */
+
+#define SYS_DOWN	0x0001	/* Notify of system down */
+#define SYS_HALT	0x0002	/* Notify of system halt */
+
+/*
+ *	Publically visible notifier objects
+ */
+ 
+extern struct notifier_block *boot_notifier_list;
+ 
 #endif
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov