Commit e72ba2d3 authored by John W. Linville's avatar John W. Linville Committed by Jeff Garzik

[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: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b6d2b1db
...@@ -170,8 +170,8 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -170,8 +170,8 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
pci_set_master(pdev); pci_set_master(pdev);
/* enable MWI */ /* enable MWI */
if (pci_set_mwi(pdev)) if (!pci_set_mwi(pdev))
goto do_pci_release_regions; printk(KERN_INFO "%s: pci_set_mwi(pdev) succeeded\n", DRV_NAME);
/* setup the network device interface and its structure */ /* setup the network device interface and its structure */
if (!(ndev = islpci_setup(pdev))) { if (!(ndev = islpci_setup(pdev))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment