dect
/
linux-2.6
Archived
13
0
Fork 0

[PATCH] prism54: correct overly aggressive check of return from pci_set_mwi

Failure of pci_set_mwi should not be considered a fatal error.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
John W. Linville 2006-11-14 20:08:53 -05:00 committed by Jeff Garzik
parent b6d2b1db06
commit e72ba2d328
1 changed files with 2 additions and 2 deletions

View File

@ -170,8 +170,8 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
pci_set_master(pdev);
/* enable MWI */
if (pci_set_mwi(pdev))
goto do_pci_release_regions;
if (!pci_set_mwi(pdev))
printk(KERN_INFO "%s: pci_set_mwi(pdev) succeeded\n", DRV_NAME);
/* setup the network device interface and its structure */
if (!(ndev = islpci_setup(pdev))) {