ixgbe: Check for adapter removal on register writes
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 15 Jan 2014 02:53:16 +0000 (18:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:59:17 +0000 (18:59 -0800)
commitb12babd4d0a83d9bae214e4c056711a279acad26
tree5752fbfb772d12d3566228566f94aea65a6b1148
parent2a1a091c1ff898b1de4dcac2236b85f88aa9d51f
ixgbe: Check for adapter removal on register writes

Prevent writes to an adapter that has been detected as removed
by a previous failing read. This also fixes some include file
ordering confusion that this patch revealed.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c