Index: uspace/srv/net/include/device.h
===================================================================
--- uspace/srv/net/include/device.h	(revision 21580dd3dd9a49828a6c8dd3988e651a60708c10)
+++ uspace/srv/net/include/device.h	(revision c92a5753b68f5804744c1b828ba80a97caaa5ce0)
@@ -47,4 +47,8 @@
  */
 #define DEVICE_MAP_IMPLEMENT	INT_MAP_IMPLEMENT
+
+/** Invalid device identifier.
+ */
+#define DEVICE_INVALID_ID		( -1 )
 
 /** Device identifier type.
