Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171678707
D2084.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
663 B
Referenced Files
None
Subscribers
None
D2084.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D2084: sfxge: do not check MCDI status word
Attached
Detach File
Event Timeline
Log In to Comment