Date: Mon, 8 Apr 1996 12:38:59 -0700 (PDT) From: Sujal Patel <smpatel> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa isa.c isa_device.h Message-ID: <199604081938.MAA21202@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
smpatel 96/04/08 12:38:58 Modified: sys/i386/isa isa.c isa_device.h Log: Add a lock for DMA Channels to prevent two devices from using the same DMA channel at the same time. The functions isa_dma_acquire() and isa_dma_release() should be used in all ISA drivers which call isa_dmastart(). This can be used more generally to register the usage of DMA channels in any driver, but it is required for drivers using isa_dmastart() and friends. Clean up sanity checks, error messages, etc. Remove isa_dmadone_nobounce(), it is no longer needed Reviewed by: bde Revision Changes Path 1.67 +112 -44 src/sys/i386/isa/isa.c 1.29 +6 -6 src/sys/i386/isa/isa_device.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604081938.MAA21202>