aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_impl.h
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2016-12-29 08:28:42 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2016-12-29 08:28:42 +0000
commite9c123a567874d52ed0ce675a3281f32a24c79d4 (patch)
tree327044db06c6df57a58fb983401c8db034dedd91 /sys/dev/sfxge/common/efx_impl.h
parent4af6e4df7c5651187ed802b3ef1398261527c330 (diff)
downloadsrc-e9c123a567874d52ed0ce675a3281f32a24c79d4.tar.gz
src-e9c123a567874d52ed0ce675a3281f32a24c79d4.zip
sfxge(4): add support for firmware-verified NVRAM updates to the common code
Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D8942
Notes
Notes: svn path=/head/; revision=310765
Diffstat (limited to 'sys/dev/sfxge/common/efx_impl.h')
-rw-r--r--sys/dev/sfxge/common/efx_impl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sfxge/common/efx_impl.h b/sys/dev/sfxge/common/efx_impl.h
index 41c1d6253af2..c388c44713b0 100644
--- a/sys/dev/sfxge/common/efx_impl.h
+++ b/sys/dev/sfxge/common/efx_impl.h
@@ -453,7 +453,7 @@ typedef struct efx_nvram_ops_s {
unsigned int, size_t);
efx_rc_t (*envo_partn_write)(efx_nic_t *, uint32_t,
unsigned int, caddr_t, size_t);
- void (*envo_partn_rw_finish)(efx_nic_t *, uint32_t);
+ efx_rc_t (*envo_partn_rw_finish)(efx_nic_t *, uint32_t);
efx_rc_t (*envo_partn_get_version)(efx_nic_t *, uint32_t,
uint32_t *, uint16_t *);
efx_rc_t (*envo_partn_set_version)(efx_nic_t *, uint32_t,
@@ -541,7 +541,8 @@ efx_mcdi_nvram_write(
efx_mcdi_nvram_update_finish(
__in efx_nic_t *enp,
__in uint32_t partn,
- __in boolean_t reboot);
+ __in boolean_t reboot,
+ __out_opt uint32_t *resultp);
#if EFSYS_OPT_DIAG