igc: Change Device Reset to Port Reset
authorSasha Neftin <sasha.neftin@intel.com>
Thu, 9 Sep 2021 06:46:18 +0000 (09:46 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 29 Oct 2021 17:36:58 +0000 (10:36 -0700)
commite377a063e2c267287f69c7cd3c4400ba900dce48
tree584be72f6bdc672335b9b345cbe199fa4c2a2115
parent8f20571db5270d549a087318840fd1312fad4051
igc: Change Device Reset to Port Reset

The _reset_hw_base method switched from port reset (CTRL[26]) to device
reset (CTRL[29]) since the FW was receiving an interrupt on CTRL[29].
FW code was later modified to also receive an interrupt on CTRL[26].
Since certain HW values are not reset to default by CTRL[29], we go back
to CTRL[26] for the HW reset, as it meets all current requirements.

This reverts commit bb4265ec24c1 ("igc: Update the MAC reset flow").

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Nechama Kraus <nechamax.kraus@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_base.c
drivers/net/ethernet/intel/igc/igc_defines.h