diff options
author | Waskiewicz Jr, Peter P <peter.p.waskiewicz.jr@intel.com> | 2009-04-23 11:31:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-27 03:15:42 -0700 |
commit | fa466e91bdf214e6e136e9da9a46a52775a1e884 (patch) | |
tree | 2326e67f87417a4c9f0c3c1999dffe62b2fdbfcd /drivers/net/ixgbe/ixgbe_type.h | |
parent | 78b1f6070fa16cb442a7c48e8f5364cd84a88b90 (diff) |
ixgbe: Disallow SFP 1G modules in the SFP+ cages for 82598 and 82599
82598 and 82599 do not support SFP 1G modules. Instead of allowing the
driver to load, but never get link, rejecting the module and displaying
a useful message is more preferrable. The framework for displaying the
failure message already exists, now we just need to detect and reject the
SFP modules.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_type.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h index a3317d8fbf6..375f0d4ad96 100644 --- a/drivers/net/ixgbe/ixgbe_type.h +++ b/drivers/net/ixgbe/ixgbe_type.h @@ -1904,6 +1904,7 @@ enum ixgbe_phy_type { ixgbe_phy_sfp_ftl, ixgbe_phy_sfp_unknown, ixgbe_phy_sfp_intel, + ixgbe_phy_sfp_unsupported, ixgbe_phy_generic }; |