]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: Disallow SFP 1G modules in the SFP+ cages for 82598 and 82599
authorWaskiewicz Jr, Peter P <peter.p.waskiewicz.jr@intel.com>
Thu, 23 Apr 2009 11:31:37 +0000 (11:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 10:15:42 +0000 (03:15 -0700)
commitfa466e91bdf214e6e136e9da9a46a52775a1e884
tree2326e67f87417a4c9f0c3c1999dffe62b2fdbfcd
parent78b1f6070fa16cb442a7c48e8f5364cd84a88b90
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>
drivers/net/ixgbe/ixgbe_phy.c
drivers/net/ixgbe/ixgbe_type.h