FreeBSD Bugzilla – Attachment 171974 Details for
Bug 150249
[ixgbe] Media type detection broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for ixgbe_phy.c DA SFP+ detection
patch-ixgbe_phy-c (text/plain), 949 bytes, created by
Borja Marcos
on 2016-06-30 13:26:33 UTC
(
hide
)
Description:
Fix for ixgbe_phy.c DA SFP+ detection
Filename:
MIME Type:
Creator:
Borja Marcos
Created:
2016-06-30 13:26:33 UTC
Size:
949 bytes
patch
obsolete
>--- ixgbe_phy.c.orig 2016-06-30 15:01:44.879905000 +0200 >+++ ixgbe_phy.c 2016-06-30 13:33:26.103924000 +0200 >@@ -1534,21 +1534,18 @@ > hw->phy.type = ixgbe_phy_sfp_intel; > break; > default: >- if (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) >- hw->phy.type = >- ixgbe_phy_sfp_passive_unknown; >- else if (cable_tech & IXGBE_SFF_DA_ACTIVE_CABLE) >- hw->phy.type = >- ixgbe_phy_sfp_active_unknown; >- else >- hw->phy.type = ixgbe_phy_sfp_unknown; >+ hw->phy.type = ixgbe_phy_sfp_unknown; > break; > } > } > > /* Allow any DA cable vendor */ > if (cable_tech & (IXGBE_SFF_DA_PASSIVE_CABLE | >- IXGBE_SFF_DA_ACTIVE_CABLE)) { >+ IXGBE_SFF_DA_ACTIVE_CABLE)) { >+ if (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) >+ hw->phy.type = ixgbe_phy_sfp_passive_unknown; >+ else if (cable_tech & IXGBE_SFF_DA_ACTIVE_CABLE) >+ hw->phy.type = ixgbe_phy_sfp_active_unknown; > status = IXGBE_SUCCESS; > goto out; > }
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 150249
:
171652
|
171751
|
171752
| 171974