From d8f0d214d29d9fb54619777ed3ea8ab76de2c6d5 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 24 Oct 2011 09:12:34 +0000 Subject: [PATCH] [NDIS] - Fix addressing constraints for slave DMA devices that don't have 32-bit address support svn path=/trunk/; revision=54245 --- reactos/drivers/network/ndis/ndis/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/network/ndis/ndis/io.c b/reactos/drivers/network/ndis/ndis/io.c index 76f6421f310..e60c314f698 100644 --- a/reactos/drivers/network/ndis/ndis/io.c +++ b/reactos/drivers/network/ndis/ndis/io.c @@ -708,11 +708,11 @@ NdisMRegisterDmaChannel( 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;