]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit275f165fa970174f8a98205529750e8abb6c0a33
treea9548561c6fd50de8a0d706704ba6c6f22bc7b19
parent842e08bd6891bd78b4c3d2e0c4a94bebb32ab3ad
pci: use pci_ioremap_bar() in drivers/net

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>
12 files changed:
drivers/net/bnx2x_main.c
drivers/net/e1000/e1000_main.c
drivers/net/epic100.c
drivers/net/ixgb/ixgb_main.c
drivers/net/qla3xxx.c
drivers/net/s2io.c
drivers/net/wan/dscc4.c
drivers/net/wan/pc300too.c
drivers/net/wan/pci200syn.c
drivers/net/wireless/hostap/hostap_pci.c
drivers/net/wireless/ipw2200.c
drivers/net/wireless/rt2x00/rt2x00pci.c