Date: Mon, 26 Nov 2018 07:42:52 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340932 - head/sys/dev/sfxge/common Message-ID: <201811260742.wAQ7gqmV011427@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arybchik Date: Mon Nov 26 07:42:52 2018 New Revision: 340932 URL: https://svnweb.freebsd.org/changeset/base/340932 Log: sfxge(4): add 3.3V and 12.0V current sensors Automatically generated using mkconfig.py. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18138 Modified: head/sys/dev/sfxge/common/efx.h head/sys/dev/sfxge/common/efx_mon.c Modified: head/sys/dev/sfxge/common/efx.h ============================================================================== --- head/sys/dev/sfxge/common/efx.h Mon Nov 26 07:30:47 2018 (r340931) +++ head/sys/dev/sfxge/common/efx.h Mon Nov 26 07:42:52 2018 (r340932) @@ -631,7 +631,7 @@ efx_mon_init( #define EFX_MON_STATS_PAGE_SIZE 0x100 #define EFX_MON_MASK_ELEMENT_SIZE 32 -/* START MKCONFIG GENERATED MonitorHeaderStatsBlock aa0233c80156308e */ +/* START MKCONFIG GENERATED MonitorHeaderStatsBlock fcc1b6748432e1ac */ typedef enum efx_mon_stat_e { EFX_MON_STAT_2_5V, EFX_MON_STAT_VCCP1, @@ -712,6 +712,8 @@ typedef enum efx_mon_stat_e { EFX_MON_STAT_BOARD_BACK_TEMP, EFX_MON_STAT_I1V8, EFX_MON_STAT_I2V5, + EFX_MON_STAT_I3V3, + EFX_MON_STAT_I12V0, EFX_MON_NSTATS } efx_mon_stat_t; Modified: head/sys/dev/sfxge/common/efx_mon.c ============================================================================== --- head/sys/dev/sfxge/common/efx_mon.c Mon Nov 26 07:30:47 2018 (r340931) +++ head/sys/dev/sfxge/common/efx_mon.c Mon Nov 26 07:42:52 2018 (r340932) @@ -128,7 +128,7 @@ fail1: #if EFSYS_OPT_NAMES -/* START MKCONFIG GENERATED MonitorStatNamesBlock d92af1538001301f */ +/* START MKCONFIG GENERATED MonitorStatNamesBlock a808884b01444549 */ static const char * const __mon_stat_name[] = { "value_2_5v", "value_vccp1", @@ -209,6 +209,8 @@ static const char * const __mon_stat_name[] = { "board_back_temp", "i1v8", "i2v5", + "i3v3", + "i12v0", }; /* END MKCONFIG GENERATED MonitorStatNamesBlock */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811260742.wAQ7gqmV011427>