Page MenuHomeFreeBSD

D2084.id.diff
No OneTemporary

D2084.id.diff

Index: head/sys/dev/sfxge/common/efx_mcdi.c
===================================================================
--- head/sys/dev/sfxge/common/efx_mcdi.c
+++ head/sys/dev/sfxge/common/efx_mcdi.c
@@ -213,6 +213,14 @@
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 @@
return (EINTR);
else
return (EIO);
+#endif
}
__checkReturn boolean_t

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 13, 3:32 PM (3 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38862463
Default Alt Text
D2084.id.diff (663 B)

Event Timeline