aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1993-10-18 18:45:48 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1993-10-18 18:45:48 +0000
commit965b29039ea0f2be22d5081efd05d42bef229b28 (patch)
treeec0428a6415abc7ca8f282332bfeb87be72f4eec
parent519471cc84c478fcab414d22f6525db545f7e69c (diff)
downloadsrc-965b29039ea0f2be22d5081efd05d42bef229b28.tar.gz
src-965b29039ea0f2be22d5081efd05d42bef229b28.zip
>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!
Notes
Notes: svn path=/head/; revision=630
-rw-r--r--sys/amd64/isa/isa.c4
-rw-r--r--sys/i386/isa/isa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c
index 59c8c0c55c61..ec083129b6cb 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 */
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c
index 59c8c0c55c61..ec083129b6cb 100644
--- a/sys/i386/isa/isa.c
+++ b/sys/i386/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 */