http://git.etherboot.org
/
etherboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd2cc73
)
Make the "unhandled 64-bit BAR" message slightly more informative
author
mcb30
<mcb30>
Mon, 29 Aug 2005 16:06:59 +0000
(16:06 +0000)
committer
mcb30
<mcb30>
Mon, 29 Aug 2005 16:06:59 +0000
(16:06 +0000)
src/core/pci.c
patch
|
blob
|
history
diff --git
a/src/core/pci.c
b/src/core/pci.c
index
8f89d8d
..
5c054a1
100644
(file)
--- a/
src/core/pci.c
+++ b/
src/core/pci.c
@@
-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
}
}