freebsd-nq/sys/amd64
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
..
amd64 Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
conf Added a comment above the npx0 device line 1996-01-20 06:14:33 +00:00
include Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
isa Allocate DMA bounce buffers only when requested by drivers. Only the 1996-01-27 02:33:48 +00:00
pci Completed function declarations and/or added prototypes and/or added 1995-12-16 00:27:59 +00:00
Makefile