linux/arch/s390/pci
Bjorn Helgaas d753323253 s390/PCI: Use generic pci_enable_resources()
The generic pci_enable_resources() does essentially the same thing as the
code in the s390 version of pcibios_enable_device().

There are differences, but I don't think any of them are a problem.  The
generic code:

  - Checks everything up to PCI_NUM_RESOURCES, not PCI_BAR_COUNT (6), so
    we'll now check the ROM resource, IOV resources, and bridge windows.

  - Checks for res->flags & IORESOURCE_UNSET.  The s390 code never sets
    IORESOURCE_UNSET, so this isn't a problem.

  - Checks res->parent.  The s390 pcibios_add_device() calls
    pci_claim_resource() on all BARs (except ROM, IOV, and bridge windows)
    so this isn't a problem either.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
2014-03-19 15:00:15 -06:00
..
Makefile s390: convert interrupt handling to use generic hardirq 2013-08-22 12:20:04 +02:00
pci_clp.c s390/pci: implement pcibios_remove_bus 2013-11-15 14:08:38 +01:00
pci_debug.c s390/pci: remove per device debug attribute 2013-06-26 21:10:27 +02:00
pci_dma.c s390/pci/dma: fix accounting of allocated_pages 2013-12-16 14:37:56 +01:00
pci_event.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2014-01-20 09:23:31 -08:00
pci_insn.c s390/pci: cleanup function names 2013-08-22 12:20:03 +02:00
pci_sysfs.c s390/pci: add recover sysfs knob 2013-08-30 08:57:12 +02:00
pci.c s390/PCI: Use generic pci_enable_resources() 2014-03-19 15:00:15 -06:00