From: Thomas Faber Date: Sun, 20 Sep 2015 09:45:59 +0000 (+0000) Subject: [HAL] X-Git-Tag: ReactOS-0.4.0~745 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=47083e371b8895c1373ebf228e2877c523fb21c8 [HAL] - Print a message if EISA DMA support is detected. Detection should probably not even be attempted unless the machine supports EISA; the print will show whether that's correct. CORE-9895 svn path=/trunk/; revision=69302 --- diff --git a/reactos/hal/halx86/generic/dma.c b/reactos/hal/halx86/generic/dma.c index afeddba3e14..a78d8173b90 100644 --- a/reactos/hal/halx86/generic/dma.c +++ b/reactos/hal/halx86/generic/dma.c @@ -153,6 +153,7 @@ HalpInitDma(VOID) WRITE_PORT_UCHAR((PUCHAR)FIELD_OFFSET(EISA_CONTROL, DmaController2Pages.Channel2), 0x2A); if (READ_PORT_UCHAR((PUCHAR)FIELD_OFFSET(EISA_CONTROL, DmaController2Pages.Channel2)) == 0x2A) { + DPRINT1("Machine supports EISA DMA. Bus type: %lu\n", HalpBusType); HalpEisaDma = TRUE; }