- Print the current and maximum lookahead to aid in debugging certain miniport drivers

svn path=/trunk/; revision=40587
This commit is contained in:
Cameron Gutman 2009-04-19 04:20:09 +00:00
parent 6e2352d0de
commit 0ffd4b7b1e

View file

@ -1608,6 +1608,10 @@ DoQueries(
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);