chiark / gitweb /
[PATCH] libsysfs 0.4.0 patch
authordsteklof@us.ibm.com <dsteklof@us.ibm.com>
Sat, 20 Dec 2003 02:29:10 +0000 (18:29 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:09 +0000 (21:13 -0700)
commitbcbe2d8e7d4ccd975e79d0c7defbe1d64d1b129c
tree78cc968183dc45e80f96133e4cb1a1c94ca461bd
parent7591c18a8f3460d3e7cab85d02915c4b51638b5c
[PATCH] libsysfs 0.4.0 patch

Ananth released sysfsutils 0.4.0 last night, I'm sure you saw the email.
Here's a patch with the latest changes from the pre-patch I already
gave you. It includes sysfs_get_device_parent(), which you said you
needed. I've run your test scripts and I've built scsi_id. Please
play around with this and check it out.

There are quite a few changes. Please do not access
structure pointers, like sysfs_device's parent, directly like
dev->parent. Please use the "get" function to retrieve. The functions
load things on demand and refresh views under the covers.
extras/scsi_id/scsi_id.c
libsysfs/libsysfs.h
libsysfs/sysfs_bus.c
libsysfs/sysfs_class.c
libsysfs/sysfs_device.c
libsysfs/sysfs_dir.c
libsysfs/sysfs_driver.c
libsysfs/sysfs_utils.c
udev-add.c