diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-08-25 15:45:20 -0600 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 10:53:43 -0700 |
commit | 34a2e15e95fce6d6f4d30162f53a0ceb25d5bbaf (patch) | |
tree | 878e3c7ac9dabd8fa7faca870bc01c1972218602 /drivers/pci/probe.c | |
parent | d768cb6929773060171eee8397a63883f60ddc07 (diff) | |
download | op-kernel-dev-34a2e15e95fce6d6f4d30162f53a0ceb25d5bbaf.zip op-kernel-dev-34a2e15e95fce6d6f4d30162f53a0ceb25d5bbaf.tar.gz |
PCI: follow lspci device/vendor style
Use "[%04x:%04x]" for PCI vendor/device IDs to follow the format
used by lspci(8).
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index d3db8b2..578d15f 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -762,7 +762,7 @@ static int pci_setup_device(struct pci_dev * dev) dev->class = class; class >>= 8; - dev_dbg(&dev->dev, "found [%04x/%04x] class %06x header type %02x\n", + dev_dbg(&dev->dev, "found [%04x:%04x] class %06x header type %02x\n", dev->vendor, dev->device, class, dev->hdr_type); /* "Unknown power state" */ |