summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/udev.h b/udev.h
index 2d2ef364b6..17ff4031c9 100644
--- a/udev.h
+++ b/udev.h
@@ -48,6 +48,14 @@
#define DEFAULT_PARTITIONS_COUNT 15
+enum device_type {
+ UNKNOWN,
+ CLASS,
+ BLOCK,
+ NET,
+ PHYSDEV,
+};
+
struct udevice {
char devpath[DEVPATH_SIZE];
char subsystem[SUBSYSTEM_SIZE];