summaryrefslogtreecommitdiffstats
path: root/drivers/pci/Kconfig
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-04-18 11:39:22 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-03 04:02:38 +0200
commit032de8e2fe3c0eec5fb0ffe4d38aa602dad397dc (patch)
treeb9ad28ab3642c2dfba8e059fc72bd8e86c667449 /drivers/pci/Kconfig
parentMSI: Give archs the option to allocate all MSI/Xs at once. (diff)
downloadlinux-032de8e2fe3c0eec5fb0ffe4d38aa602dad397dc.tar.xz
linux-032de8e2fe3c0eec5fb0ffe4d38aa602dad397dc.zip
MSI: Give archs the option to free all MSI/Xs at once.
This patch introduces an optional function, arch_teardown_msi_irqs(), which gives an arch the opportunity to do per-device teardown for MSI/X. If that's not required, the default version simply calls arch_teardown_msi_irq() for each msi irq required. arch_teardown_msi_irqs() is simply passed a pdev, attached to the pdev is a list of msi_descs, it is up to the arch to free the irq associated with each of these as appropriate. For archs that _don't_ implement arch_teardown_msi_irqs(), all msi_descs with irq == 0 are considered unallocated, and the arch teardown routine is not called on them. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/Kconfig')
0 files changed, 0 insertions, 0 deletions