|
@@ -131,6 +131,11 @@ MODULE_PARM_DESC(max_vfs,
|
|
|
"Maximum number of virtual functions to allocate per physical function");
|
|
|
#endif /* CONFIG_PCI_IOV */
|
|
|
|
|
|
+static unsigned int allow_unsupported_sfp;
|
|
|
+module_param(allow_unsupported_sfp, uint, 0);
|
|
|
+MODULE_PARM_DESC(allow_unsupported_sfp,
|
|
|
+ "Allow unsupported and untested SFP+ modules on 82599-based adapters");
|
|
|
+
|
|
|
MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
|
|
|
MODULE_DESCRIPTION("Intel(R) 10 Gigabit PCI Express Network Driver");
|
|
|
MODULE_LICENSE("GPL");
|
|
@@ -7489,6 +7494,9 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
|
|
e_crit(probe, "Fan has stopped, replace the adapter\n");
|
|
|
}
|
|
|
|
|
|
+ if (allow_unsupported_sfp)
|
|
|
+ hw->allow_unsupported_sfp = allow_unsupported_sfp;
|
|
|
+
|
|
|
/* reset_hw fills in the perm_addr as well */
|
|
|
hw->phy.reset_if_overtemp = true;
|
|
|
err = hw->mac.ops.reset_hw(hw);
|