]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
tg3: Embrace pci_ioremap_bar()
authorMatt Carlson <mcarlson@broadcom.com>
Sat, 22 Nov 2008 01:20:32 +0000 (17:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Nov 2008 01:20:32 +0000 (17:20 -0800)
commitd5fe488a7b59e41b98b91137805159466b7b49c2
tree066f560197221f591eed72aa9f0b83b9ca8bb267
parentdfe00d7d890134f9cafda49e3e60e6ce27af91ed
tg3: Embrace pci_ioremap_bar()

Per Dave Miller's suggestion, replace the remaining ioremap_nocache()
call with pci_ioremap_bar().  Remove the two IORESOURCE_MEM checks as
they are redundant.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c