]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
PCI: alpha: use generic pci_enable_resources()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 4 Mar 2008 18:56:48 +0000 (11:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Apr 2008 04:47:04 +0000 (21:47 -0700)
commit10f000a2fd805e8ccfe988e8615545467bb7f7df
tree571dfdd723e55c917d175d8320cace6b1d7e276f
parentb81d988c04cacb1f7ffb76cbff2d150eb9f02948
PCI: alpha: use generic pci_enable_resources()

Use the generic pci_enable_resources() instead of the arch-specific code.

Unlike this arch-specific code, the generic version:
    - skips resources unless requested in "mask"
    - skips ROM resources unless IORESOURCE_ROM_ENABLE is set
    - checks for resource collisions with "!r->parent"

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/alpha/kernel/pci.c