diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2010-09-29 14:23:21 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-10-17 23:03:05 -0400 |
commit | 2c6413aee215a43b1f95e218067abcde50ccbc5e (patch) | |
tree | c36c18db030ee0af60642aaac4df78973ab7be97 /drivers/pci | |
parent | cb04e95bdd0bfd618ab731c84a3ab56b56974df8 (diff) |
PCI: log vendor/device ID always
Previously we had to have CONFIG_PCI_DEBUG=y or CONFIG_DYNAMIC_DEBUG=y
to turn on this printk, but I think the IDs are valuable enough that it's
worth putting them in the log always.
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/probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 12625d90f8b5..c84900da3c59 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -961,8 +961,8 @@ int pci_setup_device(struct pci_dev *dev) | |||
961 | dev->class = class; | 961 | dev->class = class; |
962 | class >>= 8; | 962 | class >>= 8; |
963 | 963 | ||
964 | dev_dbg(&dev->dev, "found [%04x:%04x] class %06x header type %02x\n", | 964 | dev_printk(KERN_DEBUG, &dev->dev, "[%04x:%04x] type %d class %#08x\n", |
965 | dev->vendor, dev->device, class, dev->hdr_type); | 965 | dev->vendor, dev->device, dev->hdr_type, class); |
966 | 966 | ||
967 | /* need to have dev->class ready */ | 967 | /* need to have dev->class ready */ |
968 | dev->cfg_size = pci_cfg_space_size(dev); | 968 | dev->cfg_size = pci_cfg_space_size(dev); |