Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 23 Feb 1999 21:26:27 +0100

Re: Load-time parameters

Brian Julin wrote:
> 
> On Tue, 23 Feb 1999, Marcus Sundberg wrote:
> > and is
> > not well suited for hierarchical systems like Linux sysctl/proc or
> > win32 registry.
> 
> How so?? just open a sysctl file and see the key,value pairs
> or put the keys,values in a subfolder the registry.  The values are
> just prepacked C data.

And how do you set up the sysctl stuff if you don't now the parameters
until the driver asks for the values? Don't assume that all chipset
drivers take the same parameters.

> > A somewhat better system is to have a structure which is filled in
> > with parameters by the driver and passed to the KGI subsystem which
> > fills in values.
> 
> That's a very vague description.  What do you mean?

Check out the kgi_subparam stuff in KGIcon to get the general idea.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]