Author: cgutman
Date: Sun May 3 03:57:02 2009
New Revision: 40775
URL:
http://svn.reactos.org/svn/reactos?rev=40775&view=rev
Log:
- Add debug prints to NdisMMapIoSpace
Modified:
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis/io.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Sun May 3 03:57:02 2009
@@ -622,10 +622,14 @@
PAGED_CODE();
ASSERT(VirtualAddress && MiniportAdapterHandle);
+ NDIS_DbgPrint(MAX_TRACE, ("Called\n"));
+
*VirtualAddress = MmMapIoSpace(PhysicalAddress, Length, MmNonCached);
- if(!*VirtualAddress)
+ if(!*VirtualAddress) {
+ NDIS_DbgPrint(MIN_TRACE, ("MmMapIoSpace failed\n"));
return NDIS_STATUS_RESOURCES;
+ }
return NDIS_STATUS_SUCCESS;
}