mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[HAL]
- Don't probe for EISA DMA capability on non-EISA machines (i.e. currently never). Patch by Andrey Kudravets. CORE-9895 #resolve svn path=/trunk/; revision=69613
This commit is contained in:
parent
d41f9c44b4
commit
016e5d9466
1 changed files with 11 additions and 8 deletions
|
@ -146,6 +146,8 @@ HalpInitDma(VOID)
|
||||||
HalpDmaOperations.FreeMapRegisters = (PFREE_MAP_REGISTERS)IoFreeMapRegisters;
|
HalpDmaOperations.FreeMapRegisters = (PFREE_MAP_REGISTERS)IoFreeMapRegisters;
|
||||||
HalpDmaOperations.MapTransfer = (PMAP_TRANSFER)IoMapTransfer;
|
HalpDmaOperations.MapTransfer = (PMAP_TRANSFER)IoMapTransfer;
|
||||||
|
|
||||||
|
if (HalpBusType == MACHINE_TYPE_EISA)
|
||||||
|
{
|
||||||
/*
|
/*
|
||||||
* Check if Extended DMA is available. We're just going to do a random
|
* Check if Extended DMA is available. We're just going to do a random
|
||||||
* read and write.
|
* read and write.
|
||||||
|
@ -156,6 +158,7 @@ HalpInitDma(VOID)
|
||||||
DPRINT1("Machine supports EISA DMA. Bus type: %lu\n", HalpBusType);
|
DPRINT1("Machine supports EISA DMA. Bus type: %lu\n", HalpBusType);
|
||||||
HalpEisaDma = TRUE;
|
HalpEisaDma = TRUE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Intialize all the global variables and allocate master adapter with
|
* Intialize all the global variables and allocate master adapter with
|
||||||
|
|
Loading…
Reference in a new issue