ixgbe: disable tx engine before disabling tx laser
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 29 Jun 2010 18:28:36 +0000 (18:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 06:12:40 +0000 (23:12 -0700)
commit9f756f018a6d9f83556f972ce7fcd6870274efae
treebea07e369110ef623c068acfc1f01e748cee4954
parentfa37813401ff52d78591c262d6542e4d5d935584
ixgbe: disable tx engine before disabling tx laser

Disabling the tx laser while receiving DMA requests
can hang the device.  After this occurs the device
is in a bad state. The GPIO bit never clears when
PCI master access is disabled and a reboot is required
to get the device in a good state again.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-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_main.c