Source-Changes-D archive

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

Re: CVS commit: src/sys/kern



On Wed, Aug 19, 2015 at 02:05:33PM +1000, matthew green wrote:
> also:
> 
> why did you not bring up this API change on tech-kern?

I was going to say that needs-count needing to die is an old goal, but
it turns out my config(5) is wrong and that defpseudo will not depend
on needs-count being present to emit the number specified in the config.

I'd argue that one thing that can be done is the following:
 - add needs-count to the current pseudo devices that do need the count
 - change the <pseudodev>init() prototype to have no argument
 - change current pseudo devices that need the count to use the
   "needs-count"-generated #define instead of the parameter.
 - update config(1) to reflect that

That way the pseudodev part of the equation is solved and all that will
remain is for needs-count to be eliminated completely.

-- 
Quentin Garnier - cube%cubidou.net@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpdDtVec_ETE.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index