git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tests - Cleanup (disabling TCP Window Size module test)
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
drv
/
pci.c
diff --git
a/KernelLand/Kernel/drv/pci.c
b/KernelLand/Kernel/drv/pci.c
index
e926f94
..
3a4ec86
100644
(file)
--- a/
KernelLand/Kernel/drv/pci.c
+++ b/
KernelLand/Kernel/drv/pci.c
@@
-544,7
+544,11
@@
Uint64 PCI_GetValidBAR(tPCIDev ID, int BARNum, tPCI_BARType Type)
break;
\r
}
\r
ASSERT(ret != -1);
\r
- ASSERT(ret);
\r
+ if( ret == 0 ) {
\r
+ Log_Error("PCI", "PCI%i BAR%i correct type, but unallocated (0x%x)",
\r
+ ID, BARNum, bar_val);
\r
+ return 0;
\r
+ }
\r
return ret;
\r
}
\r
\r
UCC
git Repository :: git.ucc.asn.au