igb: improve handling of disconnected adapters
authorJarod Wilson <jarod@redhat.com>
Mon, 19 Oct 2015 15:52:04 +0000 (11:52 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 13 Dec 2015 07:51:26 +0000 (23:51 -0800)
commit7b06a6909555ffb0140733cc4420222604140b27
tree4e6c6b01f9323e047307bbda42fc2ad700b8d582
parentbe06998f96ecb93938ad2cce46c4289bf7cf45bc
igb: improve handling of disconnected adapters

Clean up array_rd32 so that it uses igb_rd32 the same as rd32, per the
suggestion of Alexander Duyck, and use io_addr in more places, so that
we don't have the need to call E1000_REMOVED (which simply looks for a
null hw_addr) nearly as much.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_regs.h
drivers/net/ethernet/intel/igb/igb_main.c
This page took 0.026376 seconds and 5 git commands to generate.