devres: implement pcim_iomap_regions_request_all()
authorTejun Heo <htejun@gmail.com>
Wed, 12 Mar 2008 06:26:34 +0000 (15:26 +0900)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 12:26:44 +0000 (08:26 -0400)
commit916fbfb7ae5f8c8f86399794d89e6d273df8826b
tree0b3982923e2b4114b83f67cfca9b950004caef9c
parent233f112042d0b50170212dbff99c3b34b8773cd3
devres: implement pcim_iomap_regions_request_all()

Some drivers need to reserve all PCI BARs to prevent other drivers
misusing unoccupied BARs.  pcim_iomap_regions_request_all() requests
all BARs and iomap specified BARs.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/pci.h
lib/devres.c