vxge: use pci_request_region()
authorJon Mason <jon.mason@exar.com>
Fri, 10 Dec 2010 14:02:58 +0000 (14:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Dec 2010 00:08:22 +0000 (16:08 -0800)
commitdc66daa9be40369ead5a4ee33c6bcfb44cb3c8ee
treeb725d5b54211a832f33a77a27aec9cbba882455a
parentc92bf70dcb9d08f821e4c9f09f8fc328495ba998
vxge: use pci_request_region()

Only BAR0 is ever accessed, thus making the calls to pci_request_regions
overkill.  Change calls of pci_request_regions to pci_request_region to
reduce the size of the mapped area.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-main.c