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