Re: Patch: linux-2.5.45/drivers/base/bus.c - new field to

David S. Miller (davem@redhat.com)
Sun, 03 Nov 2002 22:49:30 -0800 (PST)


From: "Adam J. Richter" <adam@yggdrasil.com>
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/