Changeset 4267
- Timestamp:
- 12/21/06 09:24:01 (6 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
lib/sysfs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r4265 r4267 13 13 Add f71872f support 14 14 Add w83627dhg support (David Holl, #2157) 15 Get the i2c adapter names from classdev.name 15 16 Man page i2cdetect.8: Describe the output convention 16 17 Man page sensors.1: Update (option -c) and clean up -
lm-sensors/trunk/lib/sysfs.c
r4208 r4267 198 198 if (!(dev = sysfs_get_classdev_device(clsdev))) 199 199 continue; 200 if (!(attr = sysfs_get_device_attr(dev, "name"))) 200 /* Get the adapter name from the classdev "name" attribute 201 * (Linux 2.6.20 and later). If it fails, fall back to 202 * the device "name" attribute (for older kernels). */ 203 if (!(attr = sysfs_get_classdev_attr(clsdev, "name")) 204 && !(attr = sysfs_get_device_attr(dev, "name"))) 201 205 continue; 202 206
