mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:05:41 +00:00
[SCSIPORT]
- Fix a couple of typos in the DMA code from my last commit svn path=/trunk/; revision=49170
This commit is contained in:
parent
68e8260b98
commit
8047296236
1 changed files with 4 additions and 4 deletions
|
@ -2151,8 +2151,8 @@ SpiResourceToConfig(IN PHW_INITIALIZATION_DATA HwInitializationData,
|
||||||
}
|
}
|
||||||
else if (Dma == 1)
|
else if (Dma == 1)
|
||||||
{
|
{
|
||||||
PortConfig->DmaChannel = PartialData->u.Dma.Channel;
|
PortConfig->DmaChannel2 = PartialData->u.Dma.Channel;
|
||||||
PortConfig->DmaPort = PartialData->u.Dma.Port;
|
PortConfig->DmaPort2 = PartialData->u.Dma.Port;
|
||||||
|
|
||||||
if (PartialData->Flags & CM_RESOURCE_DMA_8)
|
if (PartialData->Flags & CM_RESOURCE_DMA_8)
|
||||||
PortConfig->DmaWidth2 = Width8Bits;
|
PortConfig->DmaWidth2 = Width8Bits;
|
||||||
|
@ -2193,8 +2193,8 @@ SpiConfigToResource(PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
||||||
{
|
{
|
||||||
Dma = 1;
|
Dma = 1;
|
||||||
|
|
||||||
if (PortConfig->DmaChannel != SP_UNINITIALIZED_VALUE ||
|
if (PortConfig->DmaChannel2 != SP_UNINITIALIZED_VALUE ||
|
||||||
PortConfig->DmaPort != SP_UNINITIALIZED_VALUE)
|
PortConfig->DmaPort2 != SP_UNINITIALIZED_VALUE)
|
||||||
Dma++;
|
Dma++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue