pci: use pci_ioremap_bar() in drivers/net
authorArjan van de Ven <arjan@infradead.org>
Tue, 21 Oct 2008 04:42:39 +0000 (21:42 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 31 Oct 2008 04:53:48 +0000 (00:53 -0400)
Use the newly introduced pci_ioremap_bar() function in drivers/net.
pci_ioremap_bar() just takes a pci device and a bar number, with the goal
of making it really hard to get wrong, while also having a central place
to stick sanity checks.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found