ixgbe: fix media cage present detection for E610 device
Subsystems (3)
PATCH 1/1 ixgbe: fix media cage present detection for E610 device
The commit 23c0e5a16bcc ("ixgbe: Add link management support for E610 device") introduced incorrect checking of media cage presence for E610 device. Fix it.
--- drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c +1 -1
@@ -1122,7 +1122,7 @@ static bool ixgbe_is_media_cage_present(struct ixgbe_hw *hw)* returns error (ENOENT), then no cage present. If no cage present then * connection type is backplane or BASE-T. */ -return ixgbe_aci_get_netlist_node (hw, cmd,NULL ,NULL ); +return !ixgbe_aci_get_netlist_node (hw, cmd,NULL ,NULL ); }/**
Signature · 1 line
2.43.0
Quoted 10 lines · Piotr Kwapulinski
The commit
23c0e5a16bcc("ixgbe: Add link management support for E610 device") introduced incorrect checking of media cage presence for E610 device. Fix it.Fixes 23c0e5a16bcc ("ixgbe: Add link management support for E610 device")Reported-by Dan Carpenter <[email protected]>Reviewed-by Michal Swiatkowski <[email protected]>Reviewed-by Przemek Kitszel <[email protected]>Signed-off-by Piotr Kwapulinski <[email protected]>
Quoted 19 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Piotr Kwapulinski
Sent: Thursday, February 6, 2025 8:49 PM
To: [email protected]
Cc: [email protected]; Kwapulinski, Piotr <[email protected]>; Dan Carpenter <[email protected]>; Michal Swiatkowski <[email protected]>; Kitszel, Przemyslaw <[email protected]>
Subject: [Intel-wired-lan] [PATCH iwl-net] ixgbe: fix media cage present detection for E610 deviceThe commit
23c0e5a16bcc("ixgbe: Add link management support for E610 device") introduced incorrect checking of media cage presence for E610 device. Fix it.Fixes 23c0e5a16bcc ("ixgbe: Add link management support for E610 device")Reported-by Dan Carpenter <[email protected]>
Quoted 8 lines
Reviewed-by Michal Swiatkowski <[email protected]>Reviewed-by Przemek Kitszel <[email protected]>Signed-off-by Piotr Kwapulinski <[email protected]>--- drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)