From owner-cvs-src@FreeBSD.ORG Mon Dec 5 22:32:22 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A1EC16A41F; Mon, 5 Dec 2005 22:32:22 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5D5043D8E; Mon, 5 Dec 2005 22:31:59 +0000 (GMT) (envelope-from sos@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 jB5MVt3c063570; Mon, 5 Dec 2005 22:31:55 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB5MVt53063569; Mon, 5 Dec 2005 22:31:55 GMT (envelope-from sos) Message-Id: <200512052231.jB5MVt53063569@repoman.freebsd.org> From: Søren Schmidt Date: Mon, 5 Dec 2005 22:31:55 +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/dev/ata ata-dma.c ata-lowlevel.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 22:32:22 -0000 sos 2005-12-05 22:31:55 UTC FreeBSD src repository Modified files: sys/dev/ata ata-dma.c ata-lowlevel.c Log: Dont use the BUS_DMA_ALLOCNOW flag. Instead use BUS_DMA_NOWAIT and return ENOMEM to the upper layers if we run out of memory. This solves part of the trouble with running on >4GB memory systems. Revision Changes Path 1.140 +10 -8 src/sys/dev/ata/ata-dma.c 1.74 +9 -7 src/sys/dev/ata/ata-lowlevel.c