hal ChangeLog,1.291,1.292

Kay Sievers kay at freedesktop.org
Tue Sep 14 05:26:26 PDT 2004


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv2334

Modified Files:
	ChangeLog 
Log Message:
2004-09-14  Kay Sievers  <kay.sievers at vrfy.org>

        Change Hotplug handling to better match the kernel. The next kernel
        version will have a u64 hotplug sequence number starting at 1.
        We can't be sure, that an ACTION != "add" is everytime a "remove" event,
        change that to pass the action string around instead of the flag.

        * hald/linux/hald_helper.h:
        * hald/linux/osspec.c:
        * tools/linux/hal_dev.c:
        * tools/linux/hal_hotplug.c:
        Change the hal_message structure to carry the u64 sequence number
        and the ACTION as a string. Change message type to an enum. Rename
        devnode to devname to match the udev name.
        Use the u64 sequence number and change the logic not to rely on
        negative numbers. The first sequence number will never be 0 in the
        kernel, so we use it if we don't get one from udev.



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -d -r1.291 -r1.292
--- ChangeLog	14 Sep 2004 12:08:40 -0000	1.291
+++ ChangeLog	14 Sep 2004 12:26:24 -0000	1.292
@@ -1,3 +1,21 @@
+2004-09-14  Kay Sievers  <kay.sievers at vrfy.org>
+
+	Change Hotplug handling to better match the kernel. The next kernel
+	version will have a u64 hotplug sequence number starting at 1.
+	We can't be sure, that an ACTION != "add" is everytime a "remove" event,
+	change that to pass the action string around instead of the flag.
+
+	* hald/linux/hald_helper.h:
+	* hald/linux/osspec.c:
+	* tools/linux/hal_dev.c:
+	* tools/linux/hal_hotplug.c:
+	Change the hal_message structure to carry the u64 sequence number
+	and the ACTION as a string. Change message type to an enum. Rename
+	devnode to devname to match the udev name.
+	Use the u64 sequence number and change the logic not to rely on
+	negative numbers. The first sequence number will never be 0 in the
+	kernel, so we use it if we don't get one from udev.
+
 2004-09-14  David Zeuthen  <david at fubar.dk>
 
 	* hald/linux/block_class_device.c (cdrom_get_properties): Also set




More information about the hal-commit mailing list