Author: cgutman
Date: Fri Jun 5 00:11:01 2009
New Revision: 41289
URL:
http://svn.reactos.org/svn/reactos?rev=41289&view=rev
Log:
- Revert r41287
Modified:
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis/io.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Fri Jun 5 00:11:01 2009
@@ -322,10 +322,10 @@
Adapter->NdisMiniportBlock.SystemAdapterObject = AdapterObject;
- if(AvailableMapRegisters < MapRegistersPerBaseRegister * BaseMapRegistersNeeded)
+ if(AvailableMapRegisters < MapRegistersPerBaseRegister)
{
NDIS_DbgPrint(MIN_TRACE, ("Didn't get enough map registers from hal -
requested 0x%x, got 0x%x\n",
- MapRegistersPerBaseRegister * BaseMapRegistersNeeded, AvailableMapRegisters));
+ MapRegistersPerBaseRegister, AvailableMapRegisters));
AdapterObject->DmaOperations->PutDmaAdapter(AdapterObject);
Adapter->NdisMiniportBlock.SystemAdapterObject = NULL;