Commit ea8b4db9 authored by Jeff Garzik's avatar Jeff Garzik

[libata] sata_mv: use pci_try_set_mwi()

Because sometimes in life, it's ok to fail.
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 9db48926
...@@ -2666,7 +2666,7 @@ static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -2666,7 +2666,7 @@ static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
mv_print_info(host); mv_print_info(host);
pci_set_master(pdev); pci_set_master(pdev);
pci_set_mwi(pdev); pci_try_set_mwi(pdev);
return ata_host_activate(host, pdev->irq, mv_interrupt, IRQF_SHARED, return ata_host_activate(host, pdev->irq, mv_interrupt, IRQF_SHARED,
IS_GEN_I(hpriv) ? &mv5_sht : &mv6_sht); IS_GEN_I(hpriv) ? &mv5_sht : &mv6_sht);
} }
......
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