Skip to content

Commit

Permalink
PCI: make PME# messages KERN_DEBUG
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas authored and Jesse Barnes committed Nov 4, 2009
1 parent 8d6cfdc commit 10c3d71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ void pci_pme_active(struct pci_dev *dev, bool enable)

pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr);

dev_printk(KERN_INFO, &dev->dev, "PME# %s\n",
dev_printk(KERN_DEBUG, &dev->dev, "PME# %s\n",
enable ? "enabled" : "disabled");
}

Expand Down Expand Up @@ -1422,7 +1422,8 @@ void pci_pm_init(struct pci_dev *dev)

pmc &= PCI_PM_CAP_PME_MASK;
if (pmc) {
dev_info(&dev->dev, "PME# supported from%s%s%s%s%s\n",
dev_printk(KERN_DEBUG, &dev->dev,
"PME# supported from%s%s%s%s%s\n",
(pmc & PCI_PM_CAP_PME_D0) ? " D0" : "",
(pmc & PCI_PM_CAP_PME_D1) ? " D1" : "",
(pmc & PCI_PM_CAP_PME_D2) ? " D2" : "",
Expand Down

0 comments on commit 10c3d71

Please sign in to comment.