]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd53f5d2e19c88e483a6300a60561293f4e4e0d3a
treeb725d5b54211a832f33a77a27aec9cbba882455a
parent22ce1a9ebc367185a56954206d763f01b0db37a8
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