igc: Improve the DMA mapping flow
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 5 Nov 2019 09:44:13 +0000 (11:44 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 31 Dec 2019 19:17:25 +0000 (11:17 -0800)
commit21da01fd3bb1124b46e6b15657de36dffcc58af9
treef8a32c684aa8e8791f34207814710a9ef2f5fa40
parentb7b462454a5c2aed1d8aecd165d1dae9017bd5fd
igc: Improve the DMA mapping flow

Improve the probe flow and set both the DMA mask and the coherent
to the same thing. Make the flow optimized and cleared.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c