]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Fix wrong register name
authorSasha Neftin <sasha.neftin@intel.com>
Thu, 28 May 2020 07:25:21 +0000 (10:25 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 May 2020 03:33:53 +0000 (20:33 -0700)
commit8d6e85bafe7dd8f758457ce6924e9fc6a611bf56
treeb60efb78e06f81277dddd8ec7c83b7d03c6f3f8d
parentfc48b05c4815ff9f153e43b606264924ebbbe88f
igc: Fix wrong register name

Accordance to the i225 datasheet this register address
used by Host Transmit Discarded Packet by MAC counter
and not by not applicable Carrier Extension Error counter.
This patch comes to fix this wrong definition.

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