[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 2/2] The NDIS_WDM flag should be set
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xennet/miniport.c | 1 + vs2012/xennet/xennet.vcxproj | 2 +- vs2013/xennet/xennet.vcxproj | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xennet/miniport.c b/src/xennet/miniport.c index 9b686cb..0401cf2 100644 --- a/src/xennet/miniport.c +++ b/src/xennet/miniport.c @@ -323,6 +323,7 @@ MiniportRegister( MiniportDriverCharacteristics.MinorNdisVersion = 0; MiniportDriverCharacteristics.MajorDriverVersion = MAJOR_VERSION; MiniportDriverCharacteristics.MinorDriverVersion = MINOR_VERSION; + MiniportDriverCharacteristics.Flags = NDIS_WDM_DRIVER; MiniportDriverCharacteristics.CancelOidRequestHandler = MiniportCancelOidRequest; MiniportDriverCharacteristics.CancelSendHandler = MiniportCancelSend; diff --git a/vs2012/xennet/xennet.vcxproj b/vs2012/xennet/xennet.vcxproj index b006832..884d938 100644 --- a/vs2012/xennet/xennet.vcxproj +++ b/vs2012/xennet/xennet.vcxproj @@ -42,7 +42,7 @@ <Inputs>..\..\src\xennet.inf;..\..\include\version.hx</Inputs> </CustomBuildStep> <ClCompile> - <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS_WDM=1;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <WarningLevel>EnableAllWarnings</WarningLevel> <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings> <MultiProcessorCompilation>true</MultiProcessorCompilation> diff --git a/vs2013/xennet/xennet.vcxproj b/vs2013/xennet/xennet.vcxproj index 5c877a4..020322b 100644 --- a/vs2013/xennet/xennet.vcxproj +++ b/vs2013/xennet/xennet.vcxproj @@ -74,7 +74,7 @@ <Inputs>..\..\src\xennet.inf;..\..\include\version.hx</Inputs> </CustomBuildStep> <ClCompile> - <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <PreprocessorDefinitions>__MODULE__="XENNET";NDIS_MINIPORT_DRIVER;NDIS_WDM=1;NDIS60_MINIPORT=1;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> <WarningLevel>EnableAllWarnings</WarningLevel> <DisableSpecificWarnings>4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings)</DisableSpecificWarnings> <MultiProcessorCompilation>true</MultiProcessorCompilation> -- 2.1.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |