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)
|
if (dstr)
|
||||||
{
|
{
|
||||||
printf("%d.%lu.%lu: %s (%04X/%04X)\n",
|
printf("%d.%lu.%lu: %s (%04X/%04X)\n",
|
||||||
busind, (unsigned long)dev,
|
busnr, (unsigned long)dev,
|
||||||
(unsigned long)func, dstr,
|
(unsigned long)func, dstr,
|
||||||
vid, did);
|
vid, did);
|
||||||
}
|
}
|
||||||
|
@ -846,7 +846,7 @@ PRIVATE void probe_bus(int busind)
|
||||||
{
|
{
|
||||||
printf(
|
printf(
|
||||||
"%d.%lu.%lu: Unknown device, vendor %04X (%s), device %04X\n",
|
"%d.%lu.%lu: Unknown device, vendor %04X (%s), device %04X\n",
|
||||||
busind, (unsigned long)dev,
|
busnr, (unsigned long)dev,
|
||||||
(unsigned long)func, vid,
|
(unsigned long)func, vid,
|
||||||
pci_vid_name(vid), did);
|
pci_vid_name(vid), did);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue