Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/dev Enable DMA interrupts.



details:   https://anonhg.NetBSD.org/src/rev/af383e0b6065
branches:  trunk
changeset: 487938:af383e0b6065
user:      pk <pk%NetBSD.org@localhost>
date:      Thu Jun 15 14:27:07 2000 +0000

description:
Enable DMA interrupts.

diffstat:

 sys/arch/sparc/dev/si.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fcc436a03dfd -r af383e0b6065 sys/arch/sparc/dev/si.c
--- a/sys/arch/sparc/dev/si.c   Thu Jun 15 14:24:17 2000 +0000
+++ b/sys/arch/sparc/dev/si.c   Thu Jun 15 14:27:07 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: si.c,v 1.57 2000/03/25 15:27:56 tsutsui Exp $  */
+/*     $NetBSD: si.c,v 1.58 2000/06/15 14:27:07 pk Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -207,7 +207,7 @@
 #define        SI_DO_RESELECT  0x04    /* Allow disconnect/reselect */
 #define        SI_OPTIONS_MASK (SI_ENABLE_DMA|SI_DMA_INTR|SI_DO_RESELECT)
 #define SI_OPTIONS_BITS        "\10\3RESELECT\2DMA_INTR\1DMA"
-int si_options = SI_ENABLE_DMA;
+int si_options = SI_ENABLE_DMA|SI_DMA_INTR;
 int sw_options = SI_ENABLE_DMA;
 
 /* How long to wait for DMA before declaring an error. */



Home | Main Index | Thread Index | Old Index