Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Sync with FreeBSD ix-3.3.8 part 2:
details: https://anonhg.NetBSD.org/src/rev/94a87426ad74
branches: trunk
changeset: 999978:94a87426ad74
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Jun 27 06:00:11 2019 +0000
description:
Sync with FreeBSD ix-3.3.8 part 2:
- Add missing XFI support into ixgbe_get_link_capabilities_X550em().
diffstat:
sys/dev/pci/ixgbe/ixgbe_x550.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 30cbc4de7fe5 -r 94a87426ad74 sys/dev/pci/ixgbe/ixgbe_x550.c
--- a/sys/dev/pci/ixgbe/ixgbe_x550.c Thu Jun 27 05:55:40 2019 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_x550.c Thu Jun 27 06:00:11 2019 +0000
@@ -2084,7 +2084,14 @@
else
*speed = IXGBE_LINK_SPEED_10GB_FULL;
} else {
+ *autoneg = TRUE;
+
switch (hw->phy.type) {
+ case ixgbe_phy_x550em_xfi:
+ *speed = IXGBE_LINK_SPEED_1GB_FULL |
+ IXGBE_LINK_SPEED_10GB_FULL;
+ *autoneg = FALSE;
+ break;
case ixgbe_phy_ext_1g_t:
case ixgbe_phy_sgmii:
*speed = IXGBE_LINK_SPEED_1GB_FULL;
@@ -2108,7 +2115,6 @@
IXGBE_LINK_SPEED_1GB_FULL;
break;
}
- *autoneg = TRUE;
}
return IXGBE_SUCCESS;
Home |
Main Index |
Thread Index |
Old Index