commit | b1e2303dba021ee417c65a89e467a2b145ff9217 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Thu Mar 22 21:51:39 2007 +1100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed May 02 19:02:36 2007 -0700 |
tree | 2d13c436766be71a31c3209be46c9cade28028df | |
parent | 3e916c0503a34ba32202a69df1cfeb82f2c5749d [diff] |
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>