PCI driver debug output fix
- bus number (busnr) must be used instead of internal busind
This commit is contained in:
parent
8145b458d6
commit
7fddd8358d
1 changed files with 2 additions and 2 deletions
|
@ -838,7 +838,7 @@ PRIVATE void probe_bus(int busind)
|
|||
if (dstr)
|
||||
{
|
||||
printf("%d.%lu.%lu: %s (%04X/%04X)\n",
|
||||
busind, (unsigned long)dev,
|
||||
busnr, (unsigned long)dev,
|
||||
(unsigned long)func, dstr,
|
||||
vid, did);
|
||||
}
|
||||
|
@ -846,7 +846,7 @@ PRIVATE void probe_bus(int busind)
|
|||
{
|
||||
printf(
|
||||
"%d.%lu.%lu: Unknown device, vendor %04X (%s), device %04X\n",
|
||||
busind, (unsigned long)dev,
|
||||
busnr, (unsigned long)dev,
|
||||
(unsigned long)func, vid,
|
||||
pci_vid_name(vid), did);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue