ixgbe: Power down PHY during driver resets
authorPeter Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Tue, 27 Apr 2010 00:38:15 +0000 (00:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 17:18:25 +0000 (10:18 -0700)
commit61fac744dddb22d99c7b12250bc9bada7866df08
treec0d0502495cdc8fc2ade8ce44e5f483835c6e7b5
parent908ba2bfd22253f26fa910cd855e4ccffb1467d0
ixgbe: Power down PHY during driver resets

The PHY laser is still on during driver init.  It's allowing
garbage to hit our FIFO, which eventually can cause the entire
device to die.  Power down the laser while setting up the device,
and re-enable the laser before getting link.

Signed-off-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_82599.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h