e1000e: cleanup indexed register arrays
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 20 Mar 2012 03:48:13 +0000 (03:48 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Apr 2012 07:24:42 +0000 (00:24 -0700)
commit1e36052e44a46e14aa2c061db787b92b2c607f05
treeaefe3dd162adcde1de3156259ccb9e4755b981d7
parentc58c8a784b4a8135d3bfc331dbe9d1a8d98e7993
e1000e: cleanup indexed register arrays

Some Rx and Tx specific registers are arrays indexed by the queue number.
For clarity, specify the intended queue rather than obscuring it behind a
define.

Signed-off-by: Bruce Allan <bruce.w.allan@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
drivers/net/ethernet/intel/e1000e/hw.h
drivers/net/ethernet/intel/e1000e/netdev.c