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: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Jun 2006 12:37:13 -0700 (PDT)

: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.
:
:Resources are allocated/managed generically, but there needs to be an
:association between a resource structure and some resource specific
:information (like bus tags). Currently, this association is done by
:adding "non-generic" parts (r_virtual, r_bustag, r_bushandle) to the
:resource structure itself. The MSI code will add yet another resource
:specific variable to this structure. This feels "wrong",  but I'm
:wondering if this is wrong enough to need fixing. Thoughts?
:
:---chuck

    I think its ok.  The resource structure is still fairly small and
    I don't think we want to rewrite that bit of code.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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