hal/hald/linux2 physdev.c,1.19,1.20
David Zeuthen
david at freedesktop.org
Mon Aug 29 08:42:12 PDT 2005
Update of /cvs/hal/hal/hald/linux2
In directory gabe:/tmp/cvs-serv32373/hald/linux2
Modified Files:
physdev.c
Log Message:
2005-08-29 David Zeuthen <davidz at redhat.com>
* hald/linux2/physdev.c (ccwgroup_add_lcs_properties): The
following fix is needed to get a correct ccwgroup.lcs.portnumber
property, since the underlying portno sysfs attribute is decimal,
not binary. Patch from Cornelia Huck <cohuck at de.ibm.com>.
Index: physdev.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/physdev.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- physdev.c 9 Aug 2005 15:14:42 -0000 1.19
+++ physdev.c 29 Aug 2005 15:42:10 -0000 1.20
@@ -1062,7 +1062,7 @@
ccwgroup_add_lcs_properties (HalDevice *d, const gchar *sysfs_path)
{
hal_util_set_int_from_file (d, "ccwgroup.lcs.portnumber", sysfs_path,
- "portno", 2);
+ "portno", 10);
hal_util_set_string_from_file (d, "ccwgroup.lcs.type", sysfs_path,
"type");
hal_util_set_int_from_file (d, "ccwgroup.lcs.lancmd_timeout",
More information about the hal-commit
mailing list