Author: cgutman
Date: Sun Apr 19 08:20:09 2009
New Revision: 40587
URL:
http://svn.reactos.org/svn/reactos?rev=40587&view=rev
Log:
- Print the current and maximum lookahead to aid in debugging certain miniport drivers
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sun Apr 19 08:20:09
2009
@@ -1608,6 +1608,10 @@
return NdisStatus;
}
+
+ NDIS_DbgPrint(MIN_TRACE, ("Current lookahead is %ld\n",
Adapter->NdisMiniportBlock.CurrentLookahead));
+ NDIS_DbgPrint(MIN_TRACE, ("Maximum lookahead is %ld\n",
Adapter->NdisMiniportBlock.MaximumLookahead));
+
NdisStatus = MiniQueryInformation(Adapter, OID_GEN_MAXIMUM_SEND_PACKETS,
sizeof(ULONG),
&Adapter->NdisMiniportBlock.MaxSendPackets,
&BytesWritten);