]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60d2494c6e0eef1cbad8e1baffc6f0759397c6ff
tree995ed9963bbec2026f71010727a4e1cbe904d415
parentee5415f9e98d546349d5eb1bc1d35c84f66733e0
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