]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
PCI: add pci_try_set_mwi
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 9 Jul 2007 18:55:54 +0000 (11:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:02:11 +0000 (16:02 -0700)
commit694625c0b322905d6892fad873029f764cd4823f
treec48ac2c0095f2ac4044bd12b27ea318eb6156c73
parentf5609d7e679db3f29433f56e1f2e397a2f815288
PCI: add pci_try_set_mwi

As suggested by Andrew, add pci_try_set_mwi(), which does not require
return-value checking.

- add pci_try_set_mwi() without __must_check
- make it return 0 on success, errno if the "try" failed or error
- review callers

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/pci.txt
drivers/ata/pata_cs5530.c
drivers/ide/pci/cs5530.c
drivers/net/cassini.c
drivers/net/starfire.c
drivers/net/tulip/tulip_core.c
drivers/net/wireless/prism54/islpci_hotplug.c
drivers/pci/pci.c
drivers/scsi/lpfc/lpfc_init.c
drivers/usb/gadget/net2280.c
include/linux/pci.h