From: Tomas Hruby Date: Tue, 19 Oct 2010 10:30:15 +0000 (+0000) Subject: PCI driver debug output fix X-Git-Tag: v3.2.0~776 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=7fddd8358d14722a875d95195403a5d4247be5d7;p=minix.git PCI driver debug output fix - bus number (busnr) must be used instead of internal busind --- diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e64e91edd..a55d51290 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -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); }