From patchwork Tue Oct 11 18:00:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: pata_cs5520: remove incorrect warning message Date: Tue, 11 Oct 2011 08:00:44 -0000 From: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 119054 Message-Id: <201110112000.44960.bzolnier@gmail.com> To: Jeff Garzik Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] pata_cs5520: remove incorrect warning message Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/pata_cs5520.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/drivers/ata/pata_cs5520.c =================================================================== --- a/drivers/ata/pata_cs5520.c +++ b/drivers/ata/pata_cs5520.c @@ -148,10 +148,8 @@ static int __devinit cs5520_init_one(str if (pcicfg & 2) ppi[1] = π - if ((pcicfg & 0x40) == 0) { - dev_warn(&pdev->dev, "DMA mode disabled. Enabling.\n"); + if ((pcicfg & 0x40) == 0) pci_write_config_byte(pdev, 0x60, pcicfg | 0x40); - } pi.mwdma_mask = id->driver_data;