Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Nov 2002 01:53:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Nov 2002 01:53:13 -0500 Received: from pizda.ninka.net ([216.101.162.242]:10208 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id ; Mon, 4 Nov 2002 01:53:13 -0500 Date: Sun, 03 Nov 2002 22:49:30 -0800 (PST) Message-Id: <20021103.224930.126609155.davem@redhat.com> To: adam@yggdrasil.com Cc: mochel@osdl.org, linux-kernel@vger.kernel.org, greg@kroah.com Subject: Re: Patch: linux-2.5.45/drivers/base/bus.c - new field to consolidate memory allocation in many drivers From: "David S. Miller" In-Reply-To: <20021103144022.A8273@adam.yggdrasil.com> References: <20021103144022.A8273@adam.yggdrasil.com> X-FalunGong: Information control. X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 20 From: "Adam J. Richter" Date: Sun, 3 Nov 2002 14:40:22 -0800 Dave M.: I am cc'ing this to because you asked for a bus-independent API for allocating DMA consistent memory when I discusssed consolidating some other driver DMA mapping operations about six months ago. I don't know how much I like the DMA memory being allocated transparently based upon some structure initialization values. I'd rather the DMA alloc/free be explicit in the drivers. Otherwise, the ->ops->alloc_consistent et al. abstraction looks ok. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/