From: Bruce Allan Date: Fri, 16 Dec 2011 00:45:40 +0000 (+0000) Subject: e1000e: convert head, tail and itr_register offsets to __iomem pointers X-Git-Tag: v3.4-rc1~177^2~493 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5083cf6d286e4d3485eaf7904e5d60a2d9df6f5;p=pandora-kernel.git 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 Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed