summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-11-17 19:34:31 +0100
committerDan Williams <dan.j.williams@intel.com>2009-11-17 19:34:31 +0100
commite22dde9904c2d26a522f1a2b89854a8238bf0933 (patch)
treedbb3b1f2d1d1ddafb3c004819c25c31a73811ae8
parentLinux 2.6.32-rc6 (diff)
downloadlinux-e22dde9904c2d26a522f1a2b89854a8238bf0933.tar.xz
linux-e22dde9904c2d26a522f1a2b89854a8238bf0933.zip
ioat: silence "dca disabled" messages
Turning off dca is not an "error", and the dca-enabled state can be viewed from sysfs. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r--drivers/dma/ioat/dca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ioat/dca.c b/drivers/dma/ioat/dca.c
index 69d02615c4d6..14f0a782df44 100644
--- a/drivers/dma/ioat/dca.c
+++ b/drivers/dma/ioat/dca.c
@@ -98,7 +98,7 @@ static int dca_enabled_in_bios(struct pci_dev *pdev)
cpuid_level_9 = cpuid_eax(9);
res = test_bit(0, &cpuid_level_9);
if (!res)
- dev_err(&pdev->dev, "DCA is disabled in BIOS\n");
+ dev_dbg(&pdev->dev, "DCA is disabled in BIOS\n");
return res;
}
@@ -108,7 +108,7 @@ static int system_has_dca_enabled(struct pci_dev *pdev)
if (boot_cpu_has(X86_FEATURE_DCA))
return dca_enabled_in_bios(pdev);
- dev_err(&pdev->dev, "boot cpu doesn't have X86_FEATURE_DCA\n");
+ dev_dbg(&pdev->dev, "boot cpu doesn't have X86_FEATURE_DCA\n");
return 0;
}