]> git.baikalelectronics.ru Git - kernel.git/commit
igb: minor ethool regdump amendment
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 18 Jun 2019 11:55:12 +0000 (14:55 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 28 Jun 2019 23:00:00 +0000 (16:00 -0700)
commitd2d5782616448428d1c1cb64e02f33a556a997cb
treec19ccb27e97fe74af0155838a2f39bc932639642
parent72bc02794b91095735d1b0c1fa232b9bbb47d702
igb: minor ethool regdump amendment

This patch has no functional impact and it is just a preparation
for the following patch. It removes an early return from the
'igb_get_regs()' function by moving the 82576-only registers
dump into an "if" block. With this preparation, we can dump more
non-82576 registers at the end of this function.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.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/igb/igb_ethtool.c