mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 17:49:22 -04:00
sfxge: do not check MCDI status word
This is a temporary workaround until we determine a reliable sequence of operations for detecting MC reboots. Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D2084
This commit is contained in:
parent
5dadbb64d0
commit
63424713e5
1 changed files with 9 additions and 0 deletions
|
|
@ -213,6 +213,14 @@ static int
|
|||
efx_mcdi_poll_reboot(
|
||||
__in efx_nic_t *enp)
|
||||
{
|
||||
#ifndef EFX_GRACEFUL_MC_REBOOT
|
||||
/*
|
||||
* This function is not being used properly.
|
||||
* Until its callers are fixed, it should always return 0.
|
||||
*/
|
||||
_NOTE(ARGUNUSED(enp))
|
||||
return (0);
|
||||
#else
|
||||
efx_mcdi_iface_t *emip = &(enp->en_u.siena.enu_mip);
|
||||
unsigned int rebootr;
|
||||
efx_dword_t dword;
|
||||
|
|
@ -236,6 +244,7 @@ efx_mcdi_poll_reboot(
|
|||
return (EINTR);
|
||||
else
|
||||
return (EIO);
|
||||
#endif
|
||||
}
|
||||
|
||||
__checkReturn boolean_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue