diff options
author | David Daney <[email protected]> | 2015-10-29 17:35:39 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-10-29 17:35:39 -0500 |
commit | d04d0111c7701cb7c696216b0af707f4e327ad11 (patch) | |
tree | 8d4fe9e280061a166d8c4c28f131ec02e813d999 /drivers/fpga/fpga-mgr.c | |
parent | a2220d804bf09aae4da45dfd6cc6692e0e422926 (diff) |
PCI: Handle IORESOURCE_PCI_FIXED when assigning resources
The new Enhanced Allocation (EA) capability support (patches to follow)
creates resources with the IORESOURCE_PCI_FIXED set. During resource
assignment in pci_bus_assign_resources(), IORESOURCE_PCI_FIXED resources
are not given a parent. This, in turn, causes pci_enable_resources() to
fail with a "not claimed" error.
So, in __pci_bus_assign_resources(), for IORESOURCE_PCI_FIXED resources,
try to request the resource from a parent bus.
Signed-off-by: David Daney <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Sean O. Stalley <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions