hal ChangeLog,1.372.2.3,1.372.2.4

David Zeuthen david at freedesktop.org
Tue Nov 30 19:39:04 PST 2004


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

Modified Files:
      Tag: hal-0_4-stable-branch
	ChangeLog 
Log Message:
2004-11-30  David Zeuthen  <davidz at redhat.com>

	* hald/linux/osspec.c (compute_coldplug_visit_device): Descent down
	the to leafs of the /sys/devices tree but dont follow symlinks - done
	such that we can process sysfs trees with holes in them (cf. SCSI
	midlayer changes for kernel 2.6.10)

	* hald/linux/common.h: Remove prototypes for get_parent_sysfs_path()
	and add find_closest_ancestor(), find_computer()

	* hald/linux/common.c (find_closest_ancestor): New function - such
	that we can process sysfs trees with holes in them (cf. SCSI
	midlayer changes for kernel 2.6.10)
	(get_parent_sysfs_path): Make this static
	(find_computer): New function

	* hald/linux/class_device.c (class_device_visit): Use new function
	find_closest_ancestor() instead of get_parent_sysfs_path

	* hald/linux/bus_device.c (bus_device_visit): Use new function
	find_closest_ancestor() instead of get_parent_sysfs_path

	* hald/linux/block_class_device.c (block_class_visit): Use new
	function find_closest_ancestor() instead of get_parent_sysfs_path



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.372.2.3
retrieving revision 1.372.2.4
diff -u -d -r1.372.2.3 -r1.372.2.4
--- ChangeLog	22 Nov 2004 21:53:44 -0000	1.372.2.3
+++ ChangeLog	1 Dec 2004 03:38:59 -0000	1.372.2.4
@@ -1,4 +1,29 @@
-2004-11-22  David Zeuthen  <david at fubar.dk>
+2004-11-30  David Zeuthen  <davidz at redhat.com>
+
+	* hald/linux/osspec.c (compute_coldplug_visit_device): Descent down
+	the to leafs of the /sys/devices tree but dont follow symlinks - done
+	such that we can process sysfs trees with holes in them (cf. SCSI
+	midlayer changes for kernel 2.6.10)
+
+	* hald/linux/common.h: Remove prototypes for get_parent_sysfs_path()
+	and add find_closest_ancestor(), find_computer()
+
+	* hald/linux/common.c (find_closest_ancestor): New function - such
+	that we can process sysfs trees with holes in them (cf. SCSI
+	midlayer changes for kernel 2.6.10)
+	(get_parent_sysfs_path): Make this static
+	(find_computer): New function
+
+	* hald/linux/class_device.c (class_device_visit): Use new function
+	find_closest_ancestor() instead of get_parent_sysfs_path
+
+	* hald/linux/bus_device.c (bus_device_visit): Use new function
+	find_closest_ancestor() instead of get_parent_sysfs_path
+
+	* hald/linux/block_class_device.c (block_class_visit): Use new
+	function find_closest_ancestor() instead of get_parent_sysfs_path
+
+2004-11-22  David Zeuthen  <davidz at redhat.com>
 
 	* hald/linux/volume_id/volume_id.c (volume_id_probe): Add some
 	logging of what size we call volume_id_probe with




More information about the hal-commit mailing list