FreeBSD Bugzilla – Attachment 180048 Details for
Bug 211219
[e1000] NIC status does not pass into a state of "no carrier" after disconnecting the cable.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
link state fix for 10.3 / 11.0
linkstate.patch (text/plain), 1.01 KB, created by
Franco Fichtner
on 2017-02-16 14:56:17 UTC
(
hide
)
Description:
link state fix for 10.3 / 11.0
Filename:
MIME Type:
Creator:
Franco Fichtner
Created:
2017-02-16 14:56:17 UTC
Size:
1.01 KB
patch
obsolete
>From d15d07f11bfb4db074b998bb16db59691759be47 Mon Sep 17 00:00:00 2001 >From: Franco Fichtner <franco@opnsense.org> >Date: Tue, 10 Jan 2017 22:51:59 +0100 >Subject: [PATCH] em: restore link state probing for 82574 chipsets > >This matches the Intel 7.6.2 driver code to restore "no carrier" >state transitions in the 82574 chipsets. > >PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211219 >Also see: https://svnweb.freebsd.org/base?view=revision&revision=286831 >--- > sys/dev/e1000/if_em.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c >index 7e2690e..ad0a764 100644 >--- a/sys/dev/e1000/if_em.c >+++ b/sys/dev/e1000/if_em.c >@@ -5114,8 +5114,8 @@ em_enable_intr(struct adapter *adapter) > u32 ims_mask = IMS_ENABLE_MASK; > > if (hw->mac.type == e1000_82574) { >- E1000_WRITE_REG(hw, EM_EIAC, adapter->ims); >- ims_mask |= adapter->ims; >+ E1000_WRITE_REG(hw, EM_EIAC, EM_MSIX_MASK); >+ ims_mask |= EM_MSIX_MASK; > } > E1000_WRITE_REG(hw, E1000_IMS, ims_mask); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211219
: 180048