pci: Add the bus and device informations to the debug output function
This will help when debugging, since there might be different bus and device on the same target. Change-Id: I886a256f14a960d2faed71561416ee3bee20af1e Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
989e59590e
commit
1780da4151
1 changed files with 4 additions and 1 deletions
|
@ -501,7 +501,10 @@ void pci_enable_regs(struct pci_dev_info *dev_info)
|
|||
void pci_show(struct pci_dev_info *dev_info)
|
||||
{
|
||||
printk("PCI device:\n");
|
||||
printk("%X:%X class: 0x%X, %u, %u, %s, addrs: 0x%X-0x%X, IRQ %d\n",
|
||||
printk("%u:%u %X:%X class: 0x%X, %u, %u, %s,"
|
||||
"addrs: 0x%X-0x%X, IRQ %d\n",
|
||||
dev_info->bus,
|
||||
dev_info->dev,
|
||||
dev_info->vendor_id,
|
||||
dev_info->device_id,
|
||||
dev_info->class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue