summaryrefslogtreecommitdiff
path: root/libsysfs/sysfs_class.c
AgeCommit message (Collapse)Author
2005-04-26[PATCH] libsysfs changes for sysfsutils 0.3.0dsteklof@us.ibm.com
Here's the patch to up the library to the sysfsutils-0_3_0 level. The following changes: 1) adds class name to sysfs_class_device structure 2) adds bus to sysfs_device 3) gets rid of code that made assumptions as to bus addresses being unique across buses, which isn't the case. I still owe you: 1) change getpagesize->sysconf. This is in the CVS tree and part of other changes we're currently testing. Patch will follow. 2) you need a function to get a sysfs_class_device's parent. We hadn't considered class devices to have parents, the one example of a multilevel is the block class. We will add this function and send the patch to you.
2005-04-26[PATCH] new version of libsysfs patchdsteklof@us.ibm.com
Here's the patch applying the latest libsysfs. - adds the latest libsysfs code to udev * new code includes dlist implementation, a generic linked list implementation. Needed our own because LGPL * rearranged structures * provided more functions for accessing directory and attributes - gets rid of ->directory->path references in namedev.c - replaces sysfs_get_value_from_attributes with sysfs_get_classdev_attr
2005-04-26[PATCH] added libsysfs code from sysutils-0.1.1-071803 releasegreg@kroah.com