From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 6 02:58:12 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76EEE16A41F for ; Tue, 6 Sep 2005 02:58:12 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E959843D48 for ; Tue, 6 Sep 2005 02:58:11 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j862uA4m092285; Mon, 5 Sep 2005 20:56:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 05 Sep 2005 20:55:46 -0600 (MDT) Message-Id: <20050905.205546.99359919.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200509052327.36934.hselasky@c2i.net> References: <200509052327.36934.hselasky@c2i.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 05 Sep 2005 20:56:15 -0600 (MDT) Cc: freebsd-hackers@freebsd.org Subject: Re: Bus DMA question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 02:58:12 -0000 In message: <200509052327.36934.hselasky@c2i.net> Hans Petter Selasky writes: : When one creates a DMA tag for a PCI device, using "bus_dma_tag_create()", I : see that most drivers use "NULL" for the parent field, at some point, but : shouldn't this field actually point to the DMA tag of the bus where the : device is physically attached ? Should be, but isn't yet. We need to add an API to the bus_if.m file. For now, pass NULL. Warner