freebsd-nq/sys/dev/fdc
Bruce Evans dd87702a51 Allocate DMA bounce buffers only when requested by drivers. Only the
fd and wt drivers need bounce buffers, so this normally saves 32K-1K
of kernel memory.

Keep track of which DMA channels are busy.  isa_dmadone() must now be
called when DMA has finished or been aborted.

Panic for unallocated and too-small (required) bounce buffers.

fd.c:
There will be new warnings about isa_dmadone() not being called after
DMA has been aborted.

sound/dmabuf.c:
isa_dmadone() needs more parameters than are available, so temporarily
use a new interface isa_dmadone_nobounce() to avoid having to worry
about panics for fake parameters.  Untested.
1996-01-27 02:33:48 +00:00
..
fdc.c Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
fdcreg.h An ifdef almost hit where it was supposed to go. Joerg owes me a good 1994-09-25 23:37:38 +00:00