Make the "unhandled 64-bit BAR" message slightly more informative
authormcb30 <mcb30>
Mon, 29 Aug 2005 16:06:59 +0000 (16:06 +0000)
committermcb30 <mcb30>
Mon, 29 Aug 2005 16:06:59 +0000 (16:06 +0000)
src/core/pci.c

index 8f89d8d..5c054a1 100644 (file)
@@ -239,11 +239,12 @@ unsigned long pci_bar_start(struct pci_device *dev, unsigned int index)
                        pci_read_config_dword(dev, index + 4, &hi);
                        if (hi) {
 #if ULONG_MAX > 0xffffffff
-                                       bar = hi;
-                                       bar <<=32;
+                               bar = hi;
+                               bar <<=32;
 #else
-                                       printf("Unhandled 64bit BAR\n");
-                                       return -1UL;
+                               printf ( "Unhandled 64bit BAR %08x:%08x\n",
+                                        hi, lo );
+                               return -1UL;
 #endif
                        }
                }