"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libfreeipmi/sensor-read/ipmi-sensor-read.c" between
freeipmi-1.6.7.tar.gz and freeipmi-1.6.8.tar.gz

About: GNU FreeIPMI provides in-band and out-of-band IPMI software based on the IPMI (Intelligent Platform Management Interface) v1.5/2.0 specification that defines a set of interfaces for platform management (like sensor monitoring (i.e. CPU temperatures, fan speeds), remote power control, and serial-over-LAN (SOL)).

ipmi-sensor-read.c  (freeipmi-1.6.7):ipmi-sensor-read.c  (freeipmi-1.6.8)
skipping to change at line 43 skipping to change at line 43
#include "freeipmi/sensor-read/ipmi-sensor-read.h" #include "freeipmi/sensor-read/ipmi-sensor-read.h"
#include "freeipmi/api/ipmi-sensor-cmds-api.h" #include "freeipmi/api/ipmi-sensor-cmds-api.h"
#include "freeipmi/cmds/ipmi-sensor-cmds.h" #include "freeipmi/cmds/ipmi-sensor-cmds.h"
#include "freeipmi/debug/ipmi-debug.h" #include "freeipmi/debug/ipmi-debug.h"
#include "freeipmi/fiid/fiid.h" #include "freeipmi/fiid/fiid.h"
#include "freeipmi/record-format/ipmi-sdr-record-format.h" #include "freeipmi/record-format/ipmi-sdr-record-format.h"
#include "freeipmi/spec/ipmi-channel-spec.h" #include "freeipmi/spec/ipmi-channel-spec.h"
#include "freeipmi/spec/ipmi-comp-code-spec.h" #include "freeipmi/spec/ipmi-comp-code-spec.h"
#include "freeipmi/spec/ipmi-ipmb-lun-spec.h"
#include "freeipmi/spec/ipmi-slave-address-spec.h" #include "freeipmi/spec/ipmi-slave-address-spec.h"
#include "freeipmi/spec/ipmi-sensor-units-spec.h" #include "freeipmi/spec/ipmi-sensor-units-spec.h"
#include "freeipmi/util/ipmi-sensor-and-event-code-tables-util.h" #include "freeipmi/util/ipmi-sensor-and-event-code-tables-util.h"
#include "freeipmi/util/ipmi-sensor-util.h" #include "freeipmi/util/ipmi-sensor-util.h"
#include "freeipmi/util/ipmi-util.h" #include "freeipmi/util/ipmi-util.h"
#include "ipmi-sensor-read-defs.h" #include "ipmi-sensor-read-defs.h"
#include "ipmi-sensor-read-trace.h" #include "ipmi-sensor-read-trace.h"
#include "ipmi-sensor-read-util.h" #include "ipmi-sensor-read-util.h"
skipping to change at line 566 skipping to change at line 567
/* IPMI Workaround /* IPMI Workaround
* *
* Discovered on Fujitsu RX300 * Discovered on Fujitsu RX300
* Discovered on Fujitsu RX300S2 * Discovered on Fujitsu RX300S2
* *
* On some motherboards, the sensor owner is invalid. The sensor * On some motherboards, the sensor owner is invalid. The sensor
* owner as atually the BMC. * owner as atually the BMC.
*/ */
if (!(ctx->flags & IPMI_SENSOR_READ_FLAGS_ASSUME_BMC_OWNER)) if (!(ctx->flags & IPMI_SENSOR_READ_FLAGS_ASSUME_BMC_OWNER))
{ {
if (slave_address == IPMI_SLAVE_ADDRESS_BMC) if (slave_address == IPMI_SLAVE_ADDRESS_BMC && sensor_owner_lun == IPMI_BM C_IPMB_LUN_BMC)
{ {
if (_get_sensor_reading (ctx, if (_get_sensor_reading (ctx,
sensor_number, sensor_number,
obj_cmd_rs) < 0) obj_cmd_rs) < 0)
goto cleanup; goto cleanup;
} }
else else
{ {
if (_get_sensor_reading_ipmb (ctx, if (_get_sensor_reading_ipmb (ctx,
slave_address, slave_address,
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)