diff options
author | bde <bde@FreeBSD.org> | 1996-01-27 02:33:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-01-27 02:33:48 +0000 |
commit | b367666afd7d12a7802e173170448bcd9f13d89b (patch) | |
tree | 89c9bb6e9d083a3f547ce32b8b591b9a773993b4 /sys/i386/include/md_var.h | |
parent | ae64a265a89555df45a3ad36f4cb2ef096386a30 (diff) | |
download | FreeBSD-src-b367666afd7d12a7802e173170448bcd9f13d89b.zip FreeBSD-src-b367666afd7d12a7802e173170448bcd9f13d89b.tar.gz |
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.
Diffstat (limited to 'sys/i386/include/md_var.h')
-rw-r--r-- | sys/i386/include/md_var.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h index cf912f1..67daa03 100644 --- a/sys/i386/include/md_var.h +++ b/sys/i386/include/md_var.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: md_var.h,v 1.4 1995/09/03 05:43:25 julian Exp $ + * $Id: md_var.h,v 1.5 1995/11/21 12:52:57 bde Exp $ */ #ifndef _MACHINE_MD_VAR_H_ @@ -42,7 +42,6 @@ extern u_long cpu_high; extern u_long cpu_id; extern char cpu_vendor[]; extern char etext[]; -extern vm_offset_t isaphysmem; extern char kstack[]; extern void (*netisrs[32]) __P((void)); extern int nfs_diskless_valid; |