Framework for exporting system header to user space (#59)
[lunaix-os.git] / lunaix-os / includes / usr / lunaix / device.h
index 3045113db0bc14ea0ffda766498d90c7bc3e34d0..4e4c4197d4f979f919c5518a7fafcea99be943b9 100644 (file)
@@ -1,7 +1,7 @@
-#ifndef __LUNAIX_UDEVICE_H
-#define __LUNAIX_UDEVICE_H
+#ifndef _LUNAIX_UHDR_UDEVICE_H
+#define _LUNAIX_UHDR_UDEVICE_H
 
-#include "ioctl_defs.h"
+#include "ioctl.h"
 
 struct dev_info
 {
@@ -9,9 +9,8 @@ struct dev_info
 
     struct
     {
-        unsigned int meta;
-        unsigned int device;
-        unsigned int variant;
+        unsigned int group;
+        unsigned int unique;
     } dev_id;
 
     struct
@@ -21,4 +20,4 @@ struct dev_info
     } dev_name;
 };
 
-#endif /* __LUNAIX_UDEVICE_H */
+#endif /* _LUNAIX_UHDR_UDEVICE_H */