http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a1685cb
)
Remove warning (at least on platforms with uint32_t == unsigned long).
author
Michael Brown
<mcb30@etherboot.org>
Wed, 20 Dec 2006 00:34:53 +0000
(
00:34
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 20 Dec 2006 00:34:53 +0000
(
00:34
+0000)
src/drivers/bus/pci.c
patch
|
blob
|
history
diff --git
a/src/drivers/bus/pci.c
b/src/drivers/bus/pci.c
index
2406b13
..
c8dbb35
100644
(file)
--- a/
src/drivers/bus/pci.c
+++ b/
src/drivers/bus/pci.c
@@
-64,7
+64,7
@@
static unsigned long pci_bar ( struct pci_device *pci, unsigned int reg ) {
if ( sizeof ( unsigned long ) > sizeof ( uint32_t ) ) {
return ( ( ( uint64_t ) high << 32 ) | low );
} else {
- DBG ( "Unhandled 64-bit BAR %08
x%08
x\n",
+ DBG ( "Unhandled 64-bit BAR %08
lx%08l
x\n",
high, low );
return PCI_BASE_ADDRESS_MEM_TYPE_64;
}