Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2021 04:46:10 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0a4f0befab9d - main - ixgbe: update X550 SFP identification
Message-ID:  <202109070446.1874kAEK095541@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=0a4f0befab9d3a048232b00bea77bf3da20cfdd0

commit 0a4f0befab9d3a048232b00bea77bf3da20cfdd0
Author:     Xiaoyun Li <xiaoyun.li@intel.com>
AuthorDate: 2018-09-17 09:28:12 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-09-07 04:17:13 +0000

    ixgbe: update X550 SFP identification
    
    Use ixgbe_identify_sfp_module_X550em to update SFP identification
    flow. ixgbe_identify_sfp_module_X550em includes specific checks for
    X550 about supported SFP modules.
    
    Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
    Acked-by: Qi Zhang <qi.z.zhang@intel.com>
    
    Approved by:    imp
    Obtained from:  DPDK (175bedb0cc8f801be3050fa35b8d8d0971cea7cc)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D31621
---
 sys/dev/ixgbe/ixgbe_x550.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/ixgbe/ixgbe_x550.c b/sys/dev/ixgbe/ixgbe_x550.c
index df19c4c65201..1c79dda6c235 100644
--- a/sys/dev/ixgbe/ixgbe_x550.c
+++ b/sys/dev/ixgbe/ixgbe_x550.c
@@ -351,7 +351,7 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)
 
 	switch (hw->device_id) {
 	case IXGBE_DEV_ID_X550EM_A_SFP:
-		return ixgbe_identify_module_generic(hw);
+		return ixgbe_identify_sfp_module_X550em(hw);
 	case IXGBE_DEV_ID_X550EM_X_SFP:
 		/* set up for CS4227 usage */
 		ixgbe_setup_mux_ctl(hw);
@@ -359,7 +359,7 @@ static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)
 		/* Fallthrough */
 
 	case IXGBE_DEV_ID_X550EM_A_SFP_N:
-		return ixgbe_identify_module_generic(hw);
+		return ixgbe_identify_sfp_module_X550em(hw);
 		break;
 	case IXGBE_DEV_ID_X550EM_X_KX4:
 		hw->phy.type = ixgbe_phy_x550em_kx4;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109070446.1874kAEK095541>