ixgbe: fix link behavior for SFP+ when driver is brought down
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 3 Dec 2010 03:31:51 +0000 (03:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2010 17:36:45 +0000 (09:36 -0800)
commitc6ecf39a10ceec3e97096e2a8d3eadcecd593422
tree995ed9963bbec2026f71010727a4e1cbe904d415
parente4d849b8113b0cf7b6ebfa9ee4c47bd514ea49d3
ixgbe: fix link behavior for SFP+ when driver is brought down

We have had several requests to have ifconfig down command disable
the SFP+ laser and thus make link go down.  Likewise on ifconfig up
the laser would be enabled and link would come up.  This patch enables
that behavior.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@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_82599.c
drivers/net/ixgbe/ixgbe_main.c