summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-17 02:21:50 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-17 16:18:00 -0400
commitea8b4db97aa41a66c05daa4055a1974692ccd52d (patch)
tree4326663733697bfde01c97f305c3458d30541da7 /drivers
parent9db48926208562df3c778682e064990170ab8971 (diff)
downloadlinux-ea8b4db97aa41a66c05daa4055a1974692ccd52d.tar.bz2
[libata] sata_mv: use pci_try_set_mwi()
Because sometimes in life, it's ok to fail. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/sata_mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 5d576435fccc..fb8a749423ca 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -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);
}