ixgbe: Add module parameter to allow untested and unsafe SFP+ modules
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Wed, 1 Feb 2012 09:19:21 +0000 (09:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Feb 2012 19:24:07 +0000 (14:24 -0500)
commit8ef78adcb03b1fcb53c3bd62df4e96c1d2706c58
tree2a6ef3d7c2953ff5b72b5087143d6bf2e52ee64c
parent6f7062457fc98e1fa22f74d8f386ed241213dec6
ixgbe: Add module parameter to allow untested and unsafe SFP+ modules

The X520 family of network devices, with the 82599 chip, support a
small number of Intel-verified SFP+ modules on their NICs.  To maintain
stability and quality, the current devices restrict untested 3rd party
SFP+ modules.

This patch introduces a module parameter for ixgbe to allow these untested
modules at the user's peril.  It also includes a warning to the syslog
alerting users that the modules aren't supported, and results may
vary.

CC: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h