linux/drivers/net/ixgbe
Don Skidmore 5da43c1a78 ixgbe: fix inconsistent SFP/SFP+ failure results.
Currently if we loaded the driver, insert an unsupported module, and then
attempt to "ifconfig up" the device it will be brought down but the netdev
would not be unregistered. This behavior is different than all other
code paths. This patch corrects that by down'ing the device and then
scheduling the sfp_config_module_task tasklet. The tasklet will detect
this condition (like it does with other code paths) and do the
unregister_netdev().

I also removed the log message as this condition (an unsupported SFP+
module) will be logged in sfp_config_module_task.

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>
2009-07-03 19:11:05 -07:00
..
ixgbe_82598.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_82599.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.c ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe_common.h ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82598.c ixgbe: Allow link flow control in DCB mode for 82599 adapters 2009-05-17 21:04:13 -07:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82599.c ixgbe: Fix 82599 adapter link flickering issues 2009-06-07 05:20:19 -07:00
ixgbe_dcb_82599.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb_nl.c ixgbe: Don't reset the hardware when switching between LFC and PFC 2009-05-17 21:04:14 -07:00
ixgbe_dcb.c ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_dcb.h ixgbe: Add DCB for 82599, remove BCN support 2009-03-01 00:24:35 -08:00
ixgbe_ethtool.c ixgbe: Fix device capabilities of 82599 single speed fiber NICs. 2009-06-30 19:46:53 -07:00
ixgbe_fcoe.c convert some DMA_nnBIT_MASK() callers 2009-06-19 16:46:06 -07:00
ixgbe_fcoe.h ixgbe: Include offloaded FCoE data into total rx/tx statistics for 82599 2009-06-09 05:25:37 -07:00
ixgbe_main.c ixgbe: fix inconsistent SFP/SFP+ failure results. 2009-07-03 19:11:05 -07:00
ixgbe_phy.c ixgbe: fix issues with failing to detect insert of unsupported module 2009-07-03 19:10:55 -07:00
ixgbe_phy.h ixgbe: Change Direct Attach Twinax cable detection for SFP+ NICs 2009-05-19 15:36:14 -07:00
ixgbe_type.h ixgbe: Add FW detection and warning for 82599 SFP+ adapters 2009-06-07 05:20:26 -07:00
ixgbe.h ixgbe: Re-adjust ring layouts to have better cacheline efficiency 2009-06-07 05:20:25 -07:00
Makefile ixgbe: Implement FCoE Tx side offload features in base driver of 82599 2009-05-17 12:00:04 -07:00