Skip to content

Commit

Permalink
ioat: silence "dca disabled" messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Williams committed Nov 17, 2009
1 parent b419148 commit e22dde9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/dma/ioat/dca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}

Expand Down

0 comments on commit e22dde9

Please sign in to comment.