]> xenbits.xensource.com Git - xen.git/commit
pv-drivers: use PCI interfaces to request IO and MEM resources on platform device
authorKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 08:02:26 +0000 (08:02 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 08:02:26 +0000 (08:02 +0000)
commit0023f32c80f8115a6780f5787b36d14f4d40d67b
treeae7e24a5a3f72c68710dbaae6861d34c262adcf9
parent342e60022d93d0ffb79e365a0240ceb690d2044f
pv-drivers: use PCI interfaces to request IO and MEM resources on platform device

This is the correct interface to use and something has broken the use
of the previous incorrect interface (which fails because the request
conflicts with the resources assigned for the PCI device itself
instead of nesting like the PCI interfaces do).

pci_request_region() has been available since at least Linux 2.6.5.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c