Date: Mon, 5 Jul 2004 20:37:42 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/isa isa_dma.c Message-ID: <200407052037.i65KbgTO089133@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004-07-05 20:37:42 UTC FreeBSD src repository Modified files: sys/i386/isa isa_dma.c Log: Something funny happened on the way to the floppy driver today... When two drivers share an ISA DMA channel, they both call isa_dmainit() and the second call fails if DIAGNOSTIC is on. If isa_dmainit() was already called successfully, just return silently. This only works if both drivers agree on the bounce buffer size, but since sharing DMA is usually only possible on very special hardware and then typically only for devices of the same type (which would have multiple instances of the same device driver), this is not a problem in practice. Revision Changes Path 1.16 +11 -3 src/sys/i386/isa/isa_dma.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407052037.i65KbgTO089133>