Author: cgutman
Date: Sat Oct 16 15:15:51 2010
New Revision: 49170
URL:
http://svn.reactos.org/svn/reactos?rev=49170&view=rev
Log:
[SCSIPORT]
- Fix a couple of typos in the DMA code from my last commit
Modified:
trunk/reactos/drivers/storage/scsiport/scsiport.c
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] Sat Oct 16 15:15:51
2010
@@ -2151,8 +2151,8 @@
}
else if (Dma == 1)
{
- PortConfig->DmaChannel = PartialData->u.Dma.Channel;
- PortConfig->DmaPort = PartialData->u.Dma.Port;
+ PortConfig->DmaChannel2 = PartialData->u.Dma.Channel;
+ PortConfig->DmaPort2 = PartialData->u.Dma.Port;
if (PartialData->Flags & CM_RESOURCE_DMA_8)
PortConfig->DmaWidth2 = Width8Bits;
@@ -2193,8 +2193,8 @@
{
Dma = 1;
- if (PortConfig->DmaChannel != SP_UNINITIALIZED_VALUE ||
- PortConfig->DmaPort != SP_UNINITIALIZED_VALUE)
+ if (PortConfig->DmaChannel2 != SP_UNINITIALIZED_VALUE ||
+ PortConfig->DmaPort2 != SP_UNINITIALIZED_VALUE)
Dma++;
}
else