commit | c9953a73e92df11edd812d863ff741877ea9e58c | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Thu Apr 05 17:19:08 2007 +1000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed May 02 19:02:37 2007 -0700 |
tree | 27262efa28f6c05e26bfd87ef03af4a81fda3d22 | |
parent | 17bbc12acdb23ffb9613e12ca974fafd31bfcb56 [diff] |
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>