1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

sfxge: add new MCDI sensors to common code

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D4877
This commit is contained in:
Andrew Rybchenko 2016-01-12 15:20:53 +00:00
parent 5a2680acd4
commit 8b286d1c57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293762

View File

@ -149,6 +149,13 @@ static const struct mcdi_sensor_map_s {
STAT(Px, CONTROLLER_SLAVE_VPTAT_EXT_ADC), /* 0x46 SLAVE_VPTAT_EXT_ADC */
STAT(Px, CONTROLLER_SLAVE_INTERNAL_TEMP_EXT_ADC),
/* 0x47 SLAVE_INTERNAL_TEMP_EXT_ADC */
STAT_NO_SENSOR(), /* 0x48 (no sensor) */
STAT(Px, SODIMM_VOUT), /* 0x49 SODIMM_VOUT */
STAT(Px, SODIMM_0_TEMP), /* 0x4a SODIMM_0_TEMP */
STAT(Px, SODIMM_1_TEMP), /* 0x4b SODIMM_1_TEMP */
STAT(Px, PHY0_VCC), /* 0x4c PHY0_VCC */
STAT(Px, PHY1_VCC), /* 0x4d PHY1_VCC */
STAT(Px, CONTROLLER_TDIODE_TEMP), /* 0x4e CONTROLLER_TDIODE_TEMP */
};
#define MCDI_STATIC_SENSOR_ASSERT(_field) \