Re: [PATCH 0/4] i2o: Use pci_bus_alloc_resource()

2014-03-04 Thread Bjorn Helgaas
On Wed, Feb 26, 2014 at 12:08 PM, Bjorn Helgaas wrote: > i20 currently uses pci_find_parent_resource() followed by > allocate_resource() to allocate PCI space. The problem is that this won't > work reliably because before we allocate the space, we don't know its > address, and therefore we can't

[PATCH 0/4] i2o: Use pci_bus_alloc_resource()

2014-02-26 Thread Bjorn Helgaas
i20 currently uses pci_find_parent_resource() followed by allocate_resource() to allocate PCI space. The problem is that this won't work reliably because before we allocate the space, we don't know its address, and therefore we can't find the parent resource. Even if we know the *type* of space w