summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-09-05 18:05:29 +0200
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:00 -0700
commit3169e8d1ee24c7d23d7e535eb22fced869104ff8 (patch)
tree15cf27879701e8173dcb94d3b4c0b8100f666058 /udev.h
parent00d063985a209444d7252f622149351a5cff8939 (diff)
[PATCH] pass SEQNUM trough udevd
here we change udevd to pass the SEQNUM from the hotplug environment to udev and the dev.d/ scripts. We need this for HAL to match the hotplug event with the dev.d/ events. It also changes the type from int to long to match the kernel.
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/udev.h b/udev.h
index 310154f55d..717c1218eb 100644
--- a/udev.h
+++ b/udev.h
@@ -33,9 +33,10 @@
#define GROUP_SIZE 30
#define MODE_SIZE 8
-#define ACTION_SIZE 30
-#define DEVPATH_SIZE 255
-#define SUBSYSTEM_SIZE 30
+#define ACTION_SIZE 32
+#define DEVPATH_SIZE 256
+#define SUBSYSTEM_SIZE 32
+#define SEQNUM_SIZE 32
/* length of public data */
#define UDEVICE_LEN (offsetof(struct udevice, bus_id))