Date: 4 Dec 1997 04:46:07 -0000 From: ali@xcf.berkeley.edu To: freebsd-hackers@freebsd.org Subject: DMA to isa bus. Message-ID: <19971204044607.7535.qmail@xcf.berkeley.edu>
index | next in thread | raw e-mail
Hi. I'm running freebsd 2.2.2-release.
isa.c has, in isa_dmastart():
/* If B_RAW flag is set, then use autoinitialise mode */
if (flags & B_RAW) {
if (flags & B_READ)
outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_WRITE|chan);
else
outb(DMA1_MODE, DMA37MD_AUTO|DMA37MD_READ|chan);
}
else
if (flags & B_READ)
outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_WRITE|chan);
else
outb(DMA1_MODE, DMA37MD_SINGLE|DMA37MD_READ|chan);
outb(DMA1_FFC, 0);
>From the #defins in i8237.h, _AUTO is single with auto initialize. So
my choices are basically single or single with auto. I would like to
use demand mode or block mode instead. Is there a good reason why these
modes aren't supported? How should I go about initiating a demand or
block mode transfer?
Thanks.
Ali.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971204044607.7535.qmail>
