From: Matt Carlson Date: Tue, 4 Nov 2008 00:49:57 +0000 (-0800) Subject: tg3: Use pci_ioremap_bar() X-Git-Tag: v2.6.29-rc1~581^2~787 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63532394af307795ea637a283bd1fd057f5dfcea;p=pandora-kernel.git tg3: Use pci_ioremap_bar() This patch replaces the existing APE register mapping code with a call to pci_ioremap_bar(). The code that maps the main device register space did not undergo a similar change because the information derived from the pci_resource_start() and pci_resource_len() is still used to populate the (optional) mem_start and mem_end netdevice members. Replace hardcoded constants where appropriate. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed