Author: cgutman
Date: Tue Jun 23 18:09:59 2009
New Revision: 41587
URL:
http://svn.reactos.org/svn/reactos?rev=41587&view=rev
Log:
- Move NDIS_VERSION into ndissys.h and use it for NdisGetVersion also
Modified:
trunk/reactos/drivers/network/ndis/include/ndissys.h
trunk/reactos/drivers/network/ndis/ndis/config.c
trunk/reactos/drivers/network/ndis/ndis/misc.c
Modified: trunk/reactos/drivers/network/ndis/include/ndissys.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/inclu…
==============================================================================
--- trunk/reactos/drivers/network/ndis/include/ndissys.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/include/ndissys.h [iso-8859-1] Tue Jun 23 18:09:59
2009
@@ -27,6 +27,9 @@
#ifndef EXPORT
#define EXPORT NTAPI
#endif
+
+/* the version of NDIS we claim to be */
+#define NDIS_VERSION 0x00050001
#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/config.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/config.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/config.c [iso-8859-1] Tue Jun 23 18:09:59
2009
@@ -33,7 +33,6 @@
#include "ndissys.h"
-#define NDIS_VERSION 0x00050001 /* the version of NDIS we claim to be to
miniport drivers */
#define PARAMETERS_KEY L"Parameters" /* The parameters subkey under the
device-specific key */
/*
Modified: trunk/reactos/drivers/network/ndis/ndis/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] Tue Jun 23 18:09:59 2009
@@ -515,7 +515,7 @@
{
NDIS_DbgPrint(MAX_TRACE, ("Called.\n"));
- return (UINT) 0x501;
+ return NDIS_VERSION;
}
/*