Commit 34c57cba authored by Adam Wujek's avatar Adam Wujek 💬

arch-wrs: update libwr/hal_shmem.h to version 7

Remove fields used to keep thresholds of temperature sensors (not used by ppsi)
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 78277307
...@@ -107,15 +107,11 @@ struct hal_temp_sensors { ...@@ -107,15 +107,11 @@ struct hal_temp_sensors {
int pll; /* IC18 */ int pll; /* IC18 */
int psl; /* IC20 Power Supply Left (PSL) */ int psl; /* IC20 Power Supply Left (PSL) */
int psr; /* IC17 Power Supply Right (PSR) */ int psr; /* IC17 Power Supply Right (PSR) */
int fpga_thold; /* Threshold value for FPGA temperature */
int pll_thold; /* Threshold value for PLL temperature */
int psl_thold; /* Threshold value for PSL temperature */
int psr_thold; /* Threshold value for PSR temperature */
}; };
/* This is the overall structure stored in shared memory */ /* This is the overall structure stored in shared memory */
#define HAL_SHMEM_VERSION 6 /* Version 6 because of new structure #define HAL_SHMEM_VERSION 7 /* Version 7 because of moving of reading
* hal_temp_sensors in hal_shmem_header */ * temperature treshold values to snmpd */
struct hal_shmem_header { struct hal_shmem_header {
int nports; int nports;
struct hal_port_state *ports; struct hal_port_state *ports;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment