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
This commit is contained in:
Stefan Reinauer 2008-09-11 06:52:22 +00:00 committed by Stefan Reinauer
parent 9196dd553d
commit f657d75375
1 changed files with 1 additions and 1 deletions

View File

@ -923,7 +923,7 @@ device_t pci_probe_dev(device_t dev, struct bus *bus, unsigned devfn)
if ( (id == 0xffffffff) || (id == 0x00000000) || if ( (id == 0xffffffff) || (id == 0x00000000) ||
(id == 0x0000ffff) || (id == 0xffff0000)) (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; return NULL;
} }
dev = alloc_dev(bus, &dummy.path); dev = alloc_dev(bus, &dummy.path);