提交 e72ba2d3 编写于 作者: J John W. Linville 提交者: 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: NJohn W. Linville <linville@tuxdriver.com>
上级 b6d2b1db
......@@ -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))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册