[ros-diffs] [cgutman] 41941: - Stop reporting that we are NDIS 5.1 until S/G DMA is implemented in HAL so unified 2K/XP drivers don't try to use it - Enable a debug print to notify that attempting to use S/G is about to crash ROS - Thanks to niski for testing
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Mon Jul 13 19:16:20 CEST 2009
Author: cgutman
Date: Mon Jul 13 21:16:19 2009
New Revision: 41941
URL: http://svn.reactos.org/svn/reactos?rev=41941&view=rev
Log:
- Stop reporting that we are NDIS 5.1 until S/G DMA is implemented in HAL so unified 2K/XP drivers don't try to use it
- Enable a debug print to notify that attempting to use S/G is about to crash ROS
- Thanks to niski for testing
Modified:
trunk/reactos/drivers/network/ndis/include/ndissys.h
trunk/reactos/drivers/network/ndis/ndis/protocol.c
Modified: trunk/reactos/drivers/network/ndis/include/ndissys.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/include/ndissys.h?rev=41941&r1=41940&r2=41941&view=diff
==============================================================================
--- trunk/reactos/drivers/network/ndis/include/ndissys.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/include/ndissys.h [iso-8859-1] Mon Jul 13 21:16:19 2009
@@ -29,7 +29,7 @@
#endif
/* the version of NDIS we claim to be */
-#define NDIS_VERSION 0x00050001
+#define NDIS_VERSION 0x00050000
#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
#define NDIS_TAG 0x4e4d4953
Modified: trunk/reactos/drivers/network/ndis/ndis/protocol.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/protocol.c?rev=41941&r1=41940&r2=41941&view=diff
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/protocol.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/protocol.c [iso-8859-1] Mon Jul 13 21:16:19 2009
@@ -509,7 +509,7 @@
} else {
if (Adapter->NdisMiniportBlock.ScatterGatherListSize != 0)
{
- NDIS_DbgPrint(MAX_TRACE, ("Using Scatter/Gather DMA\n"));
+ NDIS_DbgPrint(MIN_TRACE, ("Using Scatter/Gather DMA\n"));
NdisQueryPacket(Packet,
NULL,
More information about the Ros-diffs
mailing list