summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus
diff options
context:
space:
mode:
authorMichael Brown2006-03-16 18:59:51 +0100
committerMichael Brown2006-03-16 18:59:51 +0100
commitbb7394b041a73f21a8dd880ce9e35f0168326b22 (patch)
tree5afd0d102828a4b9227445d7251aa7f602f8c944 /src/drivers/bus
parentMerge from Etherboot 5.4 (diff)
parentImport from Etherboot 5.4 (diff)
downloadipxe-bb7394b041a73f21a8dd880ce9e35f0168326b22.tar.gz
ipxe-bb7394b041a73f21a8dd880ce9e35f0168326b22.tar.xz
ipxe-bb7394b041a73f21a8dd880ce9e35f0168326b22.zip
Merge from Etherboot 5.4
Diffstat (limited to 'src/drivers/bus')
-rw-r--r--src/drivers/bus/pci.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c
index 95a76502b..02286b7cf 100644
--- a/src/drivers/bus/pci.c
+++ b/src/drivers/bus/pci.c
@@ -256,11 +256,12 @@ unsigned long pci_bar_start ( struct pci_device *pci, unsigned int index ) {
pci_read_config_dword ( pci, 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
}
}