From owner-cvs-all@FreeBSD.ORG Wed May 3 04:14:18 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6521D16A402; Wed, 3 May 2006 04:14:18 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC8043D46; Wed, 3 May 2006 04:14:18 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k434EHaH049750; Wed, 3 May 2006 04:14:17 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k434EHkR049744; Wed, 3 May 2006 04:14:17 GMT (envelope-from scottl) Message-Id: <200605030414.k434EHkR049744@repoman.freebsd.org> From: Scott Long Date: Wed, 3 May 2006 04:14:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 busdma_machdep.c src/sys/i386/i386 busdma_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 04:14:18 -0000 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