]> err.no Git - linux-2.6/commit
MSI: Add an arch_msi_check_device()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 5 Apr 2007 07:19:08 +0000 (17:19 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:37 +0000 (19:02 -0700)
commitc9953a73e92df11edd812d863ff741877ea9e58c
tree27262efa28f6c05e26bfd87ef03af4a81fda3d22
parent17bbc12acdb23ffb9613e12ca974fafd31bfcb56
MSI: Add an arch_msi_check_device()

Add an arch_check_device(), which gives archs a chance to check the input
to pci_enable_msi/x. The arch might be interested in the value of nvec so
pass it in. Propagate the error value returned from the arch routine out
to the caller.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c
include/linux/msi.h