summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-03-22 11:51:39 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-03 04:02:36 +0200
commitb1e2303dba021ee417c65a89e467a2b145ff9217 (patch)
tree2d13c436766be71a31c3209be46c9cade28028df /security
parentMSI: Remove msi_cache (diff)
downloadlinux-b1e2303dba021ee417c65a89e467a2b145ff9217.tar.xz
linux-b1e2303dba021ee417c65a89e467a2b145ff9217.zip
MSI: Expand pci_msi_supported()
pci_enable_msi() and pci_enable_msix() both search for the MSI/MSI-X capability, we can fold this into pci_msi_supported() by passing the type in. Update the code to match the comment for pci_msi_supported(). That is it returns 0 on success, and anything else indicates an error. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions