diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-01-14 16:24:18 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-01-14 16:24:18 +0000 |
commit | 28ecd287fecf59517a8a9786e4170d10a3ef85fe (patch) | |
tree | 9778fe5c37beb0f7a6c1f13786d267aec5de9317 /sys/dev/sfxge/common/efx_impl.h | |
parent | 434136afdbd094ca9adaf26e5c1034502e447f39 (diff) | |
download | FreeBSD-src-28ecd287fecf59517a8a9786e4170d10a3ef85fe.zip FreeBSD-src-28ecd287fecf59517a8a9786e4170d10a3ef85fe.tar.gz |
MFC r293810
sfxge: simplify conversion of NVRAM types to/from partition ids
Submitted by: Andy Moreton <amoreton at solarflare.com>
Reviewed by: gnn
Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'sys/dev/sfxge/common/efx_impl.h')
-rw-r--r-- | sys/dev/sfxge/common/efx_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/efx_impl.h b/sys/dev/sfxge/common/efx_impl.h index b5a7ec1..16c0898 100644 --- a/sys/dev/sfxge/common/efx_impl.h +++ b/sys/dev/sfxge/common/efx_impl.h @@ -492,6 +492,8 @@ typedef struct efx_nvram_ops_s { efx_rc_t (*envo_set_version)(efx_nic_t *, efx_nvram_type_t, uint16_t *); + efx_rc_t (*envo_type_to_partn)(efx_nic_t *, efx_nvram_type_t, + uint32_t *); } efx_nvram_ops_t; #endif /* EFSYS_OPT_NVRAM */ |