diff options
| author | Michael Brown | 2006-03-16 18:59:51 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-03-16 18:59:51 +0100 |
| commit | bb7394b041a73f21a8dd880ce9e35f0168326b22 (patch) | |
| tree | 5afd0d102828a4b9227445d7251aa7f602f8c944 /src/drivers/bus | |
| parent | Merge from Etherboot 5.4 (diff) | |
| parent | Import from Etherboot 5.4 (diff) | |
| download | ipxe-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.c | 9 |
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 } } |
