1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

revert 247035

This commit is contained in:
Dag-Erling Smørgrav 2013-02-20 21:16:50 +00:00
parent 0d1fce25cb
commit cdc1296734
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247056

View File

@ -1194,23 +1194,25 @@ s32 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw)
/* Make sure we're a supported PHY type */ /* Make sure we're a supported PHY type */
if (hw->phy.type == ixgbe_phy_sfp_intel) { if (hw->phy.type == ixgbe_phy_sfp_intel) {
status = IXGBE_SUCCESS; status = IXGBE_SUCCESS;
} else if (hw->allow_unsupported_sfp == TRUE) {
EWARN(hw, "WARNING: Intel (R) Network "
"Connections are quality tested "
"using Intel (R) Ethernet Optics."
" Using untested modules is not "
"supported and may cause unstable"
" operation or damage to the "
"module or the adapter. Intel "
"Corporation is not responsible "
"for any harm caused by using "
"untested modules.\n", status);
status = IXGBE_SUCCESS;
} else { } else {
DEBUGOUT("SFP+ module not supported\n"); if (hw->allow_unsupported_sfp == TRUE) {
hw->phy.type = EWARN(hw, "WARNING: Intel (R) Network "
ixgbe_phy_sfp_unsupported; "Connections are quality tested "
status = IXGBE_ERR_SFP_NOT_SUPPORTED; "using Intel (R) Ethernet Optics."
" Using untested modules is not "
"supported and may cause unstable"
" operation or damage to the "
"module or the adapter. Intel "
"Corporation is not responsible "
"for any harm caused by using "
"untested modules.\n", status);
status = IXGBE_SUCCESS;
} else {
DEBUGOUT("SFP+ module not supported\n");
hw->phy.type =
ixgbe_phy_sfp_unsupported;
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
}
} }
} else { } else {
status = IXGBE_SUCCESS; status = IXGBE_SUCCESS;