Skip to content

Commit a85ce53

Browse files
mdrustadJeff Kirsher
authored andcommitted
ixgbe: Check for setup_internal_link method
Only call the internal_setup_link method when it is provided. This check is required for newer version parts. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Tested-by: Darin Miller <darin.j.miller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent 164f739 commit a85ce53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ static s32 ixgbe_handle_lasi_ext_t_x550em(struct ixgbe_hw *hw)
16171617
if (status)
16181618
return status;
16191619

1620-
if (lsc)
1620+
if (lsc && phy->ops.setup_internal_link)
16211621
return phy->ops.setup_internal_link(hw);
16221622

16231623
return 0;

0 commit comments

Comments
 (0)