Skip to content

Commit dc614c4

Browse files
lcieplixanguy11
authored andcommitted
i40e: Add additional info to PHY type error
In case of PHY type error occurs, the message was too generic. Add additional info to PHY type error indicating that it can be wrong cable connected. Fixes: 124ed15 ("i40e: Add dual speed module support") Signed-off-by: Lukasz Cieplicki <[email protected]> Signed-off-by: Michal Maloszewski <[email protected]> Tested-by: Tony Brelinski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent 71d6fdb commit dc614c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/intel/i40e/i40e_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ static void i40e_get_settings_link_up(struct i40e_hw *hw,
980980
default:
981981
/* if we got here and link is up something bad is afoot */
982982
netdev_info(netdev,
983-
"WARNING: Link is up but PHY type 0x%x is not recognized.\n",
983+
"WARNING: Link is up but PHY type 0x%x is not recognized, or incorrect cable is in use\n",
984984
hw_link_info->phy_type);
985985
}
986986

0 commit comments

Comments
 (0)