diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-10-18 18:45:48 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-10-18 18:45:48 +0000 |
commit | 346384711418e38d7e521dbd016a10b42f21fb1c (patch) | |
tree | ec0428a6415abc7ca8f282332bfeb87be72f4eec /sys/amd64 | |
parent | 805ad5a7aa504a0f8f8970818abde5eb548f57ad (diff) | |
download | FreeBSD-src-346384711418e38d7e521dbd016a10b42f21fb1c.zip FreeBSD-src-346384711418e38d7e521dbd016a10b42f21fb1c.tar.gz |
>From: Julian Elischer <julian@jules.dialix.oz.au>
Date: Tue, 19 Oct 1993 02:22:41 -40962758 (WST)
As the subject line says:
I can;t believe this typo is still here.
Has NOBODY used the isa_dmastart() routine for 16bit DMA?
I know I just hit the dma regs directly for the AHA1542,
and it appears that either everybody else does as well, or
they only use 8bit DMA (e.g. floppy)
Editors Note:
The definition of DMA2_CHN was incorrectly using IO_DMA1!
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/isa/isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c index 59c8c0c..ec08312 100644 --- a/sys/amd64/isa/isa.c +++ b/sys/amd64/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id$ + * $Id: isa.c,v 1.4 1993/10/13 15:59:28 rgrimes Exp $ */ /* @@ -75,7 +75,7 @@ /* ** Register definitions for DMA controller 2 (channels 4..7): */ -#define DMA2_CHN(c) (IO_DMA1 + 2*(2*(c))) /* addr reg for channel c */ +#define DMA2_CHN(c) (IO_DMA2 + 2*(2*(c))) /* addr reg for channel c */ #define DMA2_SMSK (IO_DMA2 + 2*10) /* single mask register */ #define DMA2_MODE (IO_DMA2 + 2*11) /* mode register */ #define DMA2_FFC (IO_DMA2 + 2*12) /* clear first/last FF */ |