FreeBSD Bugzilla – Attachment 168276 Details for
Bug 208022
ixgbe - unexpected "ix0: Invalid advertised speed; valid modes are 0x1 through 0x7" at boot time
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to prevent bogus advertised speed warning on boot
ixgbe-speed.patch (text/plain), 823 bytes, created by
Steven Hartland
on 2016-03-16 00:09:16 UTC
(
hide
)
Description:
Patch to prevent bogus advertised speed warning on boot
Filename:
MIME Type:
Creator:
Steven Hartland
Created:
2016-03-16 00:09:16 UTC
Size:
823 bytes
patch
obsolete
>Index: sys/dev/ixgbe/if_ix.c >=================================================================== >--- sys/dev/ixgbe/if_ix.c (revision 296921) >+++ sys/dev/ixgbe/if_ix.c (working copy) >@@ -4756,10 +4756,6 @@ ixgbe_sysctl_advertise(SYSCTL_HANDLER_ARGS) > if ((error) || (req->newptr == NULL)) > return (error); > >- /* Checks to validate new value */ >- if (adapter->advertise == advertise) /* no change */ >- return (0); >- > return ixgbe_set_advertise(adapter, advertise); > } > >@@ -4773,6 +4769,10 @@ ixgbe_set_advertise(struct adapter *adapter, int a > hw = &adapter->hw; > dev = adapter->dev; > >+ /* Checks to validate new value */ >+ if (adapter->advertise == advertise) /* no change */ >+ return (0); >+ > /* No speed changes for backplane media */ > if (hw->phy.media_type == ixgbe_media_type_backplane) > return (ENODEV);
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 208022
:
168236
|
168271
| 168276