git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e916c0
)
MSI: Expand pci_msi_supported()
author
Michael Ellerman
<michael@ellerman.id.au>
Thu, 22 Mar 2007 10:51:39 +0000
(21:51 +1100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 3 May 2007 02:02:36 +0000
(19:02 -0700)
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>
drivers/pci/msi.c
patch
|
blob
|
history
diff --cc
drivers/pci/msi.c
Simple merge