Index: uspace/srv/devman/devman.h
===================================================================
--- uspace/srv/devman/devman.h	(revision 58cbb0c86e6e40ca0b0b443214cf46d039d9e648)
+++ uspace/srv/devman/devman.h	(revision fb4c877b5a2e89c57f7d1e3d731e386508596fbd)
@@ -118,10 +118,12 @@
 } driver_list_t;
 
-/** The state of the device. */
+/** Device state */
 typedef enum {
 	DEVICE_NOT_INITIALIZED = 0,
 	DEVICE_USABLE,
 	DEVICE_NOT_PRESENT,
-	DEVICE_INVALID
+	DEVICE_INVALID,
+	/** Device node has been removed from the tree */
+	DEVICE_REMOVED
 } device_state_t;
 
@@ -157,8 +159,19 @@
 };
 
+/** Function state */
+typedef enum {
+	FUN_INIT = 0,
+	FUN_OFF_LINE,
+	FUN_ON_LINE,
+	/** Function node has been removed from the tree */
+	FUN_REMOVED
+} fun_state_t;
+
 /** Function node in the device tree. */
 struct fun_node {
 	/** Reference count */
 	atomic_t refcnt;
+	/** State */
+	fun_state_t state;
 	
 	/** The global unique identifier of the function */
