diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-11-04 12:32:42 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-04 16:06:42 -0500 |
commit | 10c3d71d42f341775d96187eedd3e50eb34939d0 (patch) | |
tree | 1b0f751cd43ce628625b3b6abf05507bf3b12c37 /drivers/pci | |
parent | 8d6cfdcdb50e94c92b3621422d909fa7cc41f866 (diff) |
PCI: make PME# messages KERN_DEBUG
Messages about PME# being supported and enabled/disabled are probably
useful for debug, but maybe don't need to be on the console.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index f0da1676d2be..930eadf4670f 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -1211,7 +1211,7 @@ void pci_pme_active(struct pci_dev *dev, bool enable) | |||
1211 | 1211 | ||
1212 | pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); | 1212 | pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); |
1213 | 1213 | ||
1214 | dev_printk(KERN_INFO, &dev->dev, "PME# %s\n", | 1214 | dev_printk(KERN_DEBUG, &dev->dev, "PME# %s\n", |
1215 | enable ? "enabled" : "disabled"); | 1215 | enable ? "enabled" : "disabled"); |
1216 | } | 1216 | } |
1217 | 1217 | ||
@@ -1422,7 +1422,8 @@ void pci_pm_init(struct pci_dev *dev) | |||
1422 | 1422 | ||
1423 | pmc &= PCI_PM_CAP_PME_MASK; | 1423 | pmc &= PCI_PM_CAP_PME_MASK; |
1424 | if (pmc) { | 1424 | if (pmc) { |
1425 | dev_info(&dev->dev, "PME# supported from%s%s%s%s%s\n", | 1425 | dev_printk(KERN_DEBUG, &dev->dev, |
1426 | "PME# supported from%s%s%s%s%s\n", | ||
1426 | (pmc & PCI_PM_CAP_PME_D0) ? " D0" : "", | 1427 | (pmc & PCI_PM_CAP_PME_D0) ? " D0" : "", |
1427 | (pmc & PCI_PM_CAP_PME_D1) ? " D1" : "", | 1428 | (pmc & PCI_PM_CAP_PME_D1) ? " D1" : "", |
1428 | (pmc & PCI_PM_CAP_PME_D2) ? " D2" : "", | 1429 | (pmc & PCI_PM_CAP_PME_D2) ? " D2" : "", |