]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: fix regression on some 82598 adapters
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 2 Jul 2009 12:50:31 +0000 (12:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jul 2009 02:11:00 +0000 (19:11 -0700)
commit19343de279d28e4ed039c8ad00510d19dc4d6d12
tree57b7cf0980ec1c887e48d616b97f1ae158933345
parent63d6e1d80a8c3118be2ca0f1f21ba883f282060c
ixgbe: fix regression on some 82598 adapters

The change to check the SFP+ module again on open() was
causing the XFP (non-SFP+) adapters to be rejected. We
only want to try and re-identify the SFP+ module if the
original probe found that this device was an SFP+ device.
So for this code path (driver loaded with SFP module, module
inserted, ifconfig up of the device) the type will be
ixgbe_phy_unknown for an unidentified SFP+ module.  So we
only check if that is the case.

This problem also shows up on Copper devices.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@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_main.c