summaryrefslogtreecommitdiffstats
path: root/src/occ_405/sensor/sensor.h
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2015-12-08 13:45:56 -0600
committerWael Elessawy <welessa@us.ibm.com>2015-12-10 12:53:25 -0600
commitca9e4420760a191828d259c1e425486fa1f658a7 (patch)
tree3125fc94b7942b6d6bf8d52f684223d46f42b38e /src/occ_405/sensor/sensor.h
parentad2715410617a26a291d9b9518ac3c6f3c3c2515 (diff)
downloadtalos-occ-ca9e4420760a191828d259c1e425486fa1f658a7.tar.gz
talos-occ-ca9e4420760a191828d259c1e425486fa1f658a7.zip
Enable system config command and sensor list
Added configuration data debug command RTC: 141643 Change-Id: I3d98321508780c25795d66a8d353c36593448a6e Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22549 Tested-by: FSP CI Jenkins Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Wael Elessawy <welessa@us.ibm.com>
Diffstat (limited to 'src/occ_405/sensor/sensor.h')
-rwxr-xr-xsrc/occ_405/sensor/sensor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/occ_405/sensor/sensor.h b/src/occ_405/sensor/sensor.h
index 4459e08..8fa4e8e 100755
--- a/src/occ_405/sensor/sensor.h
+++ b/src/occ_405/sensor/sensor.h
@@ -51,7 +51,7 @@
#define MAX_VECTOR_SENSORS 32
#define MAX_SENSOR_NAME_SZ 16 // including NULL
#define MAX_SENSOR_UNIT_SZ 4 // including NULL
-#define MAX_AMEC_SENSORS 500
+#define MAX_AMEC_SENSORS 710
#define VECTOR_SENSOR_DEFAULT_VAL 0xFF
typedef enum
@@ -152,7 +152,7 @@ struct sensor
uint32_t update_tag; // Count of the number of 'ticks' that have passed
// between updates to this sensor (used for time-
// derived sensor)
- uint16_t ipmi_sid; // Ipmi sensor id obtained from mrw
+ uint32_t ipmi_sid; // Ipmi sensor id obtained from mrw
vectorSensor_t * vector; // Pointer to vector control structure. NULL if
// this is not a vector sensor.
uint16_t * mini_sensor; // Pointer to entry in mini-sensor table. NULL if
OpenPOWER on IntegriCloud