Date: Wed, 3 May 2006 04:14:17 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 busdma_machdep.c src/sys/i386/i386 busdma_machdep.c Message-ID: <200605030414.k434EHkR049744@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scottl 2006-05-03 04:14:17 UTC FreeBSD src repository Modified files: sys/amd64/amd64 busdma_machdep.c sys/i386/i386 busdma_machdep.c Log: Allow bus_dmamap_load() to pass ENOMEM back to the caller. This puts it into conformance with the mbuf and uio load routines. ENOMEM can only happen with BUS_DMA_NOWAIT is passed in, thus the deferals are disabled. I don't like doing this, but fixing this fixes assumptions in other important drivers, which is a net benefit for now. Revision Changes Path 1.74 +10 -4 src/sys/amd64/amd64/busdma_machdep.c 1.77 +10 -4 src/sys/i386/i386/busdma_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605030414.k434EHkR049744>