Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=04efb8787e4d8a7b21a61aeb723de33154311256 Commit: 04efb8787e4d8a7b21a61aeb723de33154311256 Parent: ba78073e6f70cd9c64a478a9bd901d7c8736cfbc Author: David S. Miller <[EMAIL PROTECTED]> AuthorDate: Thu May 24 17:54:15 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Thu May 24 17:54:15 2007 -0700
[CASSINI]: Check pci_set_mwi() return value. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/net/cassini.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c index 4aec747..9fe3a38 100644 --- a/drivers/net/cassini.c +++ b/drivers/net/cassini.c @@ -4919,7 +4919,10 @@ static int __devinit cas_init_one(struct pci_dev *pdev, pci_cmd &= ~PCI_COMMAND_SERR; pci_cmd |= PCI_COMMAND_PARITY; pci_write_config_word(pdev, PCI_COMMAND, pci_cmd); - pci_set_mwi(pdev); + if (pci_set_mwi(pdev)) + printk(KERN_WARNING PFX "Could enable MWI for %s\n", + pci_name(pdev)); + /* * On some architectures, the default cache line size set * by pci_set_mwi reduces perforamnce. We have to increase - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html