Enable DMA interrupts.

This commit is contained in:
pk 2000-06-15 14:27:07 +00:00
parent cce3a88546
commit cc9163a28a

View File

@ -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. * Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -207,7 +207,7 @@ struct si_softc {
#define SI_DO_RESELECT 0x04 /* Allow disconnect/reselect */ #define SI_DO_RESELECT 0x04 /* Allow disconnect/reselect */
#define SI_OPTIONS_MASK (SI_ENABLE_DMA|SI_DMA_INTR|SI_DO_RESELECT) #define SI_OPTIONS_MASK (SI_ENABLE_DMA|SI_DMA_INTR|SI_DO_RESELECT)
#define SI_OPTIONS_BITS "\10\3RESELECT\2DMA_INTR\1DMA" #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; int sw_options = SI_ENABLE_DMA;
/* How long to wait for DMA before declaring an error. */ /* How long to wait for DMA before declaring an error. */