Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177904307
D42951.1795554888.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D42951.1795554888.diff
View Options
diff --git a/sys/dev/bnxt/bnxt.h b/sys/dev/bnxt/bnxt.h
--- a/sys/dev/bnxt/bnxt.h
+++ b/sys/dev/bnxt/bnxt.h
@@ -298,6 +298,7 @@
uint8_t last_link_up;
uint8_t duplex;
uint8_t last_duplex;
+ uint8_t last_phy_type;
struct bnxt_flow_ctrl flow_ctrl;
struct bnxt_flow_ctrl last_flow_ctrl;
uint8_t duplex_setting;
diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c
--- a/sys/dev/bnxt/if_bnxt.c
+++ b/sys/dev/bnxt/if_bnxt.c
@@ -3071,6 +3071,7 @@
if (!link_info->link_up)
return;
if ((link_info->duplex == link_info->last_duplex) &&
+ (link_info->phy_type == link_info->last_phy_type) &&
(!(BNXT_IS_FLOW_CTRL_CHANGED(link_info))))
return;
}
@@ -3101,6 +3102,7 @@
link_info->last_link_up = link_info->link_up;
link_info->last_duplex = link_info->duplex;
+ link_info->last_phy_type = link_info->phy_type;
link_info->last_flow_ctrl.tx = link_info->flow_ctrl.tx;
link_info->last_flow_ctrl.rx = link_info->flow_ctrl.rx;
link_info->last_flow_ctrl.autoneg = link_info->flow_ctrl.autoneg;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 24, 9:14 PM (10 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41963928
Default Alt Text
D42951.1795554888.diff (1 KB)
Attached To
Mode
D42951: if_bnxt: Fix media speed update issue in "ifconfig -m" during PHY hot plug
Attached
Detach File
Event Timeline