DragonFly BSD
DragonFly kernel List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: struct resource question

From: joerg@xxxxxxxxxxxxxxxxx
Date: Thu, 8 Jun 2006 23:11:46 +0200
Mail-followup-to: kernel@crater.dragonflybsd.org

On Thu, Jun 08, 2006 at 10:51:05AM -0700, Chuck Tuffli wrote:
> There is an aspect of struct resource (src/sys/sys/rman.h) that I'm
> tempted to change but I wanted a) to get a sense from others if this
> is worth changing and b) find out what kind of changes others would
> like to see.

The big problem I have with the current resource implementation and more
importantly the bus_dma framework as inherited from FreeBSD is that we
have two different hierachies in the tree. We have the flat / MD bus_dma
implementation and the tree of kobj for devices. When you can cleanup
this relationship and use struct resource only to enumerate the
available resources, it should be much easier to extend.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]