mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-25 20:28:21 +00:00
sensors support for ipmi. Includes limited support for
add'l dummy adaps in libsensors git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1606 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ca292047a5
commit
5a24ce81e4
4 files changed
+78
No files matched your search
@@ -298,6 +298,8 @@ const char *sensors_get_adapter_name(int bus_nr)
|
||||
int i;
|
||||
if (bus_nr == SENSORS_CHIP_NAME_BUS_ISA)
|
||||
return "ISA adapter";
|
||||
if (bus_nr == SENSORS_CHIP_NAME_BUS_DUMMY)
|
||||
return "Dummy adapter";
|
||||
for (i=0; i < sensors_proc_bus_count; i++)
|
||||
if (sensors_proc_bus[i].number == bus_nr)
|
||||
return sensors_proc_bus[i].adapter;
|
||||
@@ -309,6 +311,8 @@ const char *sensors_get_algorithm_name(int bus_nr)
|
||||
int i;
|
||||
if (bus_nr == SENSORS_CHIP_NAME_BUS_ISA)
|
||||
return "ISA algorithm";
|
||||
if (bus_nr == SENSORS_CHIP_NAME_BUS_DUMMY)
|
||||
return "Dummy algorithm";
|
||||
for (i=0; i < sensors_proc_bus_count; i++)
|
||||
if (sensors_proc_bus[i].number == bus_nr)
|
||||
return sensors_proc_bus[i].algorithm;
|
||||
|
||||
Reference in new issue
Block a user