Author: cgutman
Date: Mon Oct 24 09:12:34 2011
New Revision: 54245

URL: http://svn.reactos.org/svn/reactos?rev=54245&view=rev
Log:
[NDIS]
- Fix addressing constraints for slave DMA devices that don't have 32-bit 
address support

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/io.c?rev=54245&r1=54244&r2=54245&view=diff
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Mon Oct 24 
09:12:34 2011
@@ -708,11 +708,11 @@
 
   DeviceDesc.Version = DEVICE_DESCRIPTION_VERSION;
   DeviceDesc.Master = (Adapter->NdisMiniportBlock.Flags & 
NDIS_ATTRIBUTE_BUS_MASTER);
-  DeviceDesc.ScatterGather = FALSE; //Is this correct?
+  DeviceDesc.ScatterGather = FALSE;
   DeviceDesc.DemandMode = DmaDescription->DemandMode;
   DeviceDesc.AutoInitialize = DmaDescription->AutoInitialize;
   DeviceDesc.Dma32BitAddresses = Dma32BitAddresses;
-  DeviceDesc.Dma64BitAddresses = !Dma32BitAddresses; //Is this correct?
+  DeviceDesc.Dma64BitAddresses = FALSE;
   DeviceDesc.BusNumber = Adapter->NdisMiniportBlock.BusNumber;
   DeviceDesc.DmaChannel = DmaDescription->DmaChannel;
   DeviceDesc.InterfaceType = Adapter->NdisMiniportBlock.BusType;


Reply via email to