summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/phy.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2011-12-16 00:45:40 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-01-25 23:12:13 -0800
commitc5083cf6d286e4d3485eaf7904e5d60a2d9df6f5 (patch)
treede0736d8ff50800af5149ab0e84188dc71fe1900 /drivers/net/ethernet/intel/e1000e/phy.c
parent7ee913562fb7937595ba97f9b9adbf294b657d5b (diff)
e1000e: convert head, tail and itr_register offsets to __iomem pointers
The Tx/Rx head and tail registers and itr_register are always at known addresses based on the __iomem address at which the PCI region (from BAR 0) is mapped and known offsets within the region for each of these registers. Store and use the full address rather than just the region offset to reduce unnecessary address calculations. Also, change current u8 __iomem pointers to void __iomem pointers. 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>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/phy.c')
0 files changed, 0 insertions, 0 deletions