Back out the "don't use DMA if SCSI_POLL is set" saftey-net. The

MI 5380 code did something I didn't really expect, which caused DMA
to disable itself if only DMA was enabled.  *grumble*
This commit is contained in:
thorpej 1996-02-29 03:28:38 +00:00
parent 1f6d8c1c1f
commit 93dff23036
1 changed files with 1 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: si.c,v 1.16 1996/02/25 21:53:57 pk Exp $ */
/* $NetBSD: si.c,v 1.17 1996/02/29 03:28:38 thorpej Exp $ */
/*
* Copyright (c) 1995 Jason R. Thorpe
@ -636,17 +636,6 @@ si_dma_alloc(ncr_sc)
return;
#endif
/*
* If the transfer flags say "poll", that means we're
* probably doing:
* - autoconfiguration
* - crash dump
* Doing DVMA during a crash dump can be potentially dangerous,
* so we avoid it here.
*/
if (xs->flags & SCSI_POLL)
return;
addr = (u_long) ncr_sc->sc_dataptr;
xlen = ncr_sc->sc_datalen;