diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-17 08:21:50 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-17 22:18:00 +0200 |
commit | ea8b4db97aa41a66c05daa4055a1974692ccd52d (patch) | |
tree | 4326663733697bfde01c97f305c3458d30541da7 /drivers/ata/sata_mv.c | |
parent | drivers/infiniband/hw/mthca/mthca_qp: kill uninit'd var warning (diff) | |
download | linux-ea8b4db97aa41a66c05daa4055a1974692ccd52d.tar.xz linux-ea8b4db97aa41a66c05daa4055a1974692ccd52d.zip |
[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/ata/sata_mv.c')
-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) 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); } |