OSDN Git Service

igc: Update the MAC reset flow
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 26 Jun 2019 05:53:47 +0000 (08:53 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 24 Jul 2019 20:55:09 +0000 (13:55 -0700)
commitbb4265ec24c13aacf3a613e64c701294b122beb7
tree76c61fd4f11f729a8373878e06e827a07e529d15
parent6145787d5e2eb973fa9f73d228d7a6a13650b1d1
igc: Update the MAC reset flow

Use Device Reset flow instead of Port Reset flow.
This flow performs a reset of the entire controller device,
resulting in a state nearly approximating the state
following a power-up reset or internal PCIe reset,
except for system PCI configuration.

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_base.c
drivers/net/ethernet/intel/igc/igc_defines.h