hal/hald/linux2 physdev.c,1.15,1.16
David Zeuthen
david at freedesktop.org
Thu Mar 24 19:24:54 PST 2005
Update of /cvs/hal/hal/hald/linux2
In directory gabe:/tmp/cvs-serv13098/hald/linux2
Modified Files:
physdev.c
Log Message:
2005-03-24 David Zeuthen <davidz at redhat.com>
* libhal/libhal.c (filter_func): Stupid bug; checked for ctx->
device_new_capability, but should check for ctx->device_condition
* hald/linux2/physdev.c (pci_add): Even more stupid bug; somehow
the hal_util_set_driver were enclosed in an if statement, thus
rendering the next statement conditional (the one that sets
pci.product_id)
Index: physdev.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/physdev.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- physdev.c 22 Mar 2005 19:03:08 -0000 1.15
+++ physdev.c 25 Mar 2005 03:24:51 -0000 1.16
@@ -80,7 +80,7 @@
hal_device_property_set_string (d, "pci.linux.sysfs_path", sysfs_path);
- if (hal_util_set_driver (d, "info.linux.driver", sysfs_path))
+ hal_util_set_driver (d, "info.linux.driver", sysfs_path);
hal_util_set_int_from_file (d, "pci.product_id", sysfs_path, "device", 16);
hal_util_set_int_from_file (d, "pci.vendor_id", sysfs_path, "vendor", 16);
More information about the hal-commit
mailing list