git: e38f9257c3fa - main - ixgbe: Add support for 1Gbit Active DAC links
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Nov 2024 04:38:36 UTC
The branch main has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=e38f9257c3fac5cb5a62f62c424a976446ae1220
commit e38f9257c3fac5cb5a62f62c424a976446ae1220
Author: Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2024-11-20 00:24:55 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-11-20 04:38:08 +0000
ixgbe: Add support for 1Gbit Active DAC links
1Gbit also emperically works on Active DACs.
MFC after: 3 days
Sponsored by: BBOX.io
---
sys/dev/ixgbe/ixgbe_phy.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/dev/ixgbe/ixgbe_phy.c b/sys/dev/ixgbe/ixgbe_phy.c
index 218a9dac3b78..ea815c6c88e5 100644
--- a/sys/dev/ixgbe/ixgbe_phy.c
+++ b/sys/dev/ixgbe/ixgbe_phy.c
@@ -1437,7 +1437,8 @@ s32 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw)
(comp_codes_10g & IXGBE_SFF_10GBASESR_CAPABLE)) ||
((comp_codes_1g & IXGBE_SFF_1GBASELX_CAPABLE) &&
(comp_codes_10g & IXGBE_SFF_10GBASELR_CAPABLE)) ||
- (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE))
+ (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) ||
+ (cable_tech & IXGBE_SFF_DA_ACTIVE_CABLE))
hw->phy.multispeed_fiber = true;
/* Determine PHY vendor */