]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[libata] sata_mv: use pci_try_set_mwi()
authorJeff Garzik <jeff@garzik.org>
Tue, 17 Jul 2007 06:21:50 +0000 (02:21 -0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 17 Jul 2007 20:18:00 +0000 (16:18 -0400)
Because sometimes in life, it's ok to fail.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c

index 5d576435fcccddd5fe0498c57c90c058e436de65..fb8a749423ca6634f3f8dff199db09841a24d497 100644 (file)
@@ -2666,7 +2666,7 @@ static int mv_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
        mv_print_info(host);
 
        pci_set_master(pdev);
-       pci_set_mwi(pdev);
+       pci_try_set_mwi(pdev);
        return ata_host_activate(host, pdev->irq, mv_interrupt, IRQF_SHARED,
                                 IS_GEN_I(hpriv) ? &mv5_sht : &mv6_sht);
 }