From: Andrew Jackson Date: Thu, 16 Nov 2017 08:04:25 +0000 (+0000) Subject: net/sfc/base: support new sensors X-Git-Tag: spdx-start~648 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e6fba14511e2e86811dba8881686770355167a14;p=dpdk.git net/sfc/base: support new sensors Signed-off-by: Andrew Jackson Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/mcdi_mon.c b/drivers/net/sfc/base/mcdi_mon.c index c5360c31c9..a083eac933 100644 --- a/drivers/net/sfc/base/mcdi_mon.c +++ b/drivers/net/sfc/base/mcdi_mon.c @@ -157,6 +157,8 @@ static const struct mcdi_sensor_map_s { STAT(Px, CONTROLLER_TDIODE_TEMP), /* 0x4e CONTROLLER_TDIODE_TEMP */ STAT(Px, BOARD_FRONT_TEMP), /* 0x4f BOARD_FRONT_TEMP */ STAT(Px, BOARD_BACK_TEMP), /* 0x50 BOARD_BACK_TEMP */ + STAT(Px, I1V8), /* 0x51 IN_I1V8 */ + STAT(Px, I2V5), /* 0x52 IN_I2V5 */ }; #define MCDI_STATIC_SENSOR_ASSERT(_field) \