Use DMAMODE_DEMAND. Tested on an AS200.

This commit is contained in:
mycroft 1999-02-22 02:52:24 +00:00
parent 2aa01ad0b9
commit 0d22ee1396
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.2 1999/02/19 16:16:05 mycroft Exp $ */
/* $NetBSD: fd.c,v 1.3 1999/02/22 02:52:24 mycroft Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -1083,7 +1083,7 @@ loop:
read = bp->b_flags & B_READ ? DMAMODE_READ : DMAMODE_WRITE;
isa_dmastart(fdc->sc_ic, fdc->sc_drq,
bp->b_data + fd->sc_skip, fd->sc_nbytes,
NULL, read, BUS_DMA_NOWAIT);
NULL, read | DMAMODE_DEMAND, BUS_DMA_NOWAIT);
#if 0 /* XXX i/o port kludge */
bus_space_write_1(iot, ioh, fdctl, type->rate);
#else