Changeset 4198

Show
Ignore:
Timestamp:
10/08/06 17:45:15 (8 years ago)
Author:
khali
Message:

libsensors: Probe for busses before chips. This makes more sense that way,
and may allow for cleanups later.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4197 r4198  
    44SVN HEAD 
    55  Library: Add support for the pc87247 driver (fans only) 
     6           Probe for busses before chips 
    67  Module icspll: Delete. It was useless and dangerous. 
    78  Program sensord: Add pc87247 support (fans only) 
  • lm-sensors/trunk/lib/init.c

    r3300 r4198  
    4444  sensors_cleanup(); 
    4545  if (sensors_init_sysfs()) { 
    46     if ((res = sensors_read_sysfs_chips()) || (res = sensors_read_sysfs_bus())) 
     46    if ((res = sensors_read_sysfs_bus()) || (res = sensors_read_sysfs_chips())) 
    4747      return res; 
    4848  } else { 
    49     if ((res = sensors_read_proc_chips()) || (res = sensors_read_proc_bus())) 
     49    if ((res = sensors_read_proc_bus()) || (res = sensors_read_proc_chips())) 
    5050      return res; 
    5151  }