From e9bc5a34f422212a7a9dbe056499389089b3bfad Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Thu, 29 Nov 2018 06:47:41 +0000 Subject: [PATCH] sfxge(4): add more definitions of partitions Add definitions of dynamic config and expansion ROM backup partitions. Submitted by: Paul Fox Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18247 --- sys/dev/sfxge/common/ef10_nvram.c | 2 ++ sys/dev/sfxge/common/efx.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/sfxge/common/ef10_nvram.c b/sys/dev/sfxge/common/ef10_nvram.c index 1d91040d04ce..bfc01ea009af 100644 --- a/sys/dev/sfxge/common/ef10_nvram.c +++ b/sys/dev/sfxge/common/ef10_nvram.c @@ -2195,6 +2195,8 @@ static ef10_parttbl_entry_t medford2_parttbl[] = { PARTN_MAP_ENTRY(LICENSE, ALL, LICENSE), PARTN_MAP_ENTRY(EXPANSION_UEFI, ALL, UEFIROM), PARTN_MAP_ENTRY(MUM_FIRMWARE, ALL, MUM_FIRMWARE), + PARTN_MAP_ENTRY(DYNCONFIG_DEFAULTS, ALL, DYNCONFIG_DEFAULTS), + PARTN_MAP_ENTRY(ROMCONFIG_DEFAULTS, ALL, ROMCONFIG_DEFAULTS), }; static __checkReturn efx_rc_t diff --git a/sys/dev/sfxge/common/efx.h b/sys/dev/sfxge/common/efx.h index 20029fc7ae56..ee813ed83d1f 100644 --- a/sys/dev/sfxge/common/efx.h +++ b/sys/dev/sfxge/common/efx.h @@ -1511,6 +1511,8 @@ typedef enum efx_nvram_type_e { EFX_NVRAM_LICENSE, EFX_NVRAM_UEFIROM, EFX_NVRAM_MUM_FIRMWARE, + EFX_NVRAM_DYNCONFIG_DEFAULTS, + EFX_NVRAM_ROMCONFIG_DEFAULTS, EFX_NVRAM_NTYPES, } efx_nvram_type_t;