OSDN Git Service

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)
commit9379b39945ac543d76ce5a83403b8f1531b8862a
treec19ccb27e97fe74af0155838a2f39bc932639642
parent75051ce4c5d8e9ef3d74364803540355cd35e05b
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