diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-17 02:21:50 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-17 16:18:00 -0400 |
commit | ea8b4db97aa41a66c05daa4055a1974692ccd52d (patch) | |
tree | 4326663733697bfde01c97f305c3458d30541da7 /drivers | |
parent | 9db48926208562df3c778682e064990170ab8971 (diff) |
[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.c | 2 |
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) | |||
2666 | mv_print_info(host); | 2666 | mv_print_info(host); |
2667 | 2667 | ||
2668 | pci_set_master(pdev); | 2668 | pci_set_master(pdev); |
2669 | pci_set_mwi(pdev); | 2669 | pci_try_set_mwi(pdev); |
2670 | return ata_host_activate(host, pdev->irq, mv_interrupt, IRQF_SHARED, | 2670 | return ata_host_activate(host, pdev->irq, mv_interrupt, IRQF_SHARED, |
2671 | IS_GEN_I(hpriv) ? &mv5_sht : &mv6_sht); | 2671 | IS_GEN_I(hpriv) ? &mv5_sht : &mv6_sht); |
2672 | } | 2672 | } |