Author: amunger
Date: Wed Apr 5 21:36:28 2006
New Revision: 21475
URL:
http://svn.reactos.ru/svn/reactos?rev=21475&view=rev
Log:
Changed the ParameterType in NdisReadConfiguration to Hex.
Since 21002, we actually check this in ndis, before we just assumed Hex regardless of what
was sent in. This fixes networking under qemu.
Modified:
trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c
Modified: trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/network/dd/ne2000/n…
==============================================================================
--- trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c (original)
+++ trunk/reactos/drivers/network/dd/ne2000/ne2000/main.c Wed Apr 5 21:36:28 2006
@@ -224,7 +224,7 @@
}
NdisInitUnicodeString(&Keyword, L"Irq");
- NdisReadConfiguration(&Status, &ConfigurationParameter,
ConfigurationHandle, &Keyword, NdisParameterInteger);
+ NdisReadConfiguration(&Status, &ConfigurationParameter,
ConfigurationHandle, &Keyword, NdisParameterHexInteger);
if(Status == NDIS_STATUS_SUCCESS)
{
NDIS_DbgPrint(MID_TRACE,("NdisReadConfiguration for Irq returned
successfully, irq 0x%x\n",
@@ -233,7 +233,7 @@
}
NdisInitUnicodeString(&Keyword, L"Port");
- NdisReadConfiguration(&Status, &ConfigurationParameter,
ConfigurationHandle, &Keyword, NdisParameterInteger);
+ NdisReadConfiguration(&Status, &ConfigurationParameter,
ConfigurationHandle, &Keyword, NdisParameterHexInteger);
if(Status == NDIS_STATUS_SUCCESS)
{
NDIS_DbgPrint(MID_TRACE,("NdisReadConfiguration for Port returned
successfully, port 0x%x\n",