diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-09-11 06:52:22 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-09-11 06:52:22 +0000 |
commit | f657d7537538ed83e0768ccce499329ac22a0b5b (patch) | |
tree | a8ff747ae1a501ab183a81e54710b2e4389c0d1d /src | |
parent | 9196dd553dcfdaefec8b4d5c94895175f796ff7b (diff) | |
download | coreboot-f657d7537538ed83e0768ccce499329ac22a0b5b.tar.xz |
From Vincent Legoll:
Use dev_path() to have nice debug output
patch is run-time tested
Trivial, thus:
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3572 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/pci_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c index 00910f2a8b..7fb86933be 100644 --- a/src/devices/pci_device.c +++ b/src/devices/pci_device.c @@ -923,7 +923,7 @@ device_t pci_probe_dev(device_t dev, struct bus *bus, unsigned devfn) if ( (id == 0xffffffff) || (id == 0x00000000) || (id == 0x0000ffff) || (id == 0xffff0000)) { - printk_spew("PCI: devfn 0x%x, bad id 0x%x\n", devfn, id); + printk_spew("%s, bad id 0x%x\n", dev_path(&dummy), id); return NULL; } dev = alloc_dev(bus, &dummy.path); |