Subject: Re: kernel config declaration order
To: Chris G. Demetriou <cgd@cs.cmu.edu>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: tech-kern
Date: 04/01/1997 20:48:38
> > 2) Have config_search() make an effort to give priority to explicit
> > unit declarations over wild-carded ones.
>
> This seems losing, but perhaps it makes sense to do something like:
> if the existing 'winner' has the same match value as the
> just-checked cfdata's match function, and the existing
> 'winner' is a wildcarded entry, and the just checked cfdata
> is not, then make the just-checked entry the winner.
that is what I had in mind.
It's a one-liner, whereas changing config... (but I haven't looked at it yet).
-pk