e1000e: Fix ethtool offline tests for 82579 parts
authorDavid Ertman <davidx.m.ertman@intel.com>
Wed, 5 Mar 2014 07:54:19 +0000 (07:54 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Mar 2014 07:48:58 +0000 (23:48 -0800)
commitad40064e88df1a95a3532a35071e46d8db1fbe74
tree246abb850c0cf7c104b117ee39a17edb94b4bf26
parent5bb731760810b30d67096cbdded96addba4f1292
e1000e: Fix ethtool offline tests for 82579 parts

Changes to the rar_entry_count value require a change to the indexing
used to access the SHRA[H|L] registers when testing them with
'ethtool -t <iface> offline'

Signed-off-by: Dave Ertman <davidx.m.ertman@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/e1000e/ethtool.c